🎉 Keadex Mina v2 is now available!

Home > @keadex/c4-model-ui-kit

c4-model-ui-kit package

Classes

Class

Description

DiagramRenderer

Enumerations

Enumeration

Description

DiagramExternalLinkVariables

Functions

Function

Description

addObjectsToGroupAndKeepScale(group, objects)

boundaryDiagramElement(element)

buildTags(tags)

C4Component(data, elementSpec, autoLayout, options, renderElementsOptions)

C4ComponentExt(data, elementSpec, autoLayout, options, renderElementsOptions)

c4ElementTypeHumanName(c4ElementType)

c4ElementTypePathName(c4ElementType)

C4Legend(elementSpec, renderElementsOptions)

C4SoftwareSystem(data, elementSpec, autoLayout, options, renderElementsOptions)

C4SoftwareSystemExt(data, elementSpec, autoLayout, options, renderElementsOptions)

componentDiagramElement(element)

containerDiagramElement(element)

deploymentNodeDiagramElement(element)

diagramContainsSubDiagrams(elements)

diagramDirName(diagramHumanName)

diagramTypeHumanName(diagramType)

externalLinkVariableToPlaceholder(variable)

generateAutoLayout(graphviz, diagram)

generateSubgraphMarginHackId(id)

getBoundingBox(objects, absolutePosition, transformMatrix)

getCanvasPan(canvas)

getCustomTagsStyle(tags, elementsTags)

getElementSpecByAlias(alias, from, to, elementType, diagramSpec)

getGraphHeightInPtFromBB(bb)

getSavedZIndex(component)

getSupportedBorderStyle(borderStyle)

getZIndexOfObject(canvas, object)

graphvizCoordinatesToPx(padInInch, graphHeightInPt, point)

invalidateCanvasCache(canvas)

isC4ElasticContainer(object)

Check if the given GraphvizObject represents a C4 Elastic Container.

isDefaultDiagramElementSpec(diagramElementSpec)

isExternalLink(diagramLink)

isLegendAlias(alias)

isRelationshipAlias(alias)

isSubgraphInvisibleNodeHack(object)

isSubgraphMarginHack(object)

linkableDiagramElement(element)

linkLabelFromExternalLink(diagramLink)

locationEntityHumanName(locationEntity)

parseDiagramTypeHumanName(diagramTypeHumanName)

parseTags(tags)

personDiagramElement(element)

personTypeHumanName(personType)

relationshipDiagramElement(element)

renderBoundaryDiagramElement(canvas, boundary, diagramSpec, autoLayout, options)

renderComponentDiagramElement(canvas, component, diagramSpec, autoLayout, options)

renderContainerDiagramElement(canvas, container, diagramSpec, autoLayout, options)

renderDeploymentNodeDiagramElement(canvas, deploymentNode, diagramSpec, autoLayout, options)

renderPersonDiagramElement(canvas, person, diagramSpec, autoLayout, options)

renderRelationshipDiagramElement(canvas, relationship, diagramSpec, autoLayout, options)

renderSoftwareSystemDiagramElement(canvas, softwareSystem, diagramSpec, autoLayout, options)

replaceExternalLinkVariables(diagramLink, rawData)

softwareSystemDiagramElement(element)

svgPathFromGraphvizPos(graphvizPos, start, end, padInInch, graphHeightInPt)

updateDiagramElementsSpecsFromCanvas(canvas)

Interfaces

Interface

Description

AddElementTag

BaseElement

Boundary

Component

Container

DeploymentNode

Diagram

DiagramElementSpec

DiagramListener

DiagramPlantUML

DiagramSpec

DiagramsThemeSettings

Person

Position

Relationship

Shape

Size

SoftwareSystem

Variables

Variable

Description

ADD_ELEMENT_TAG_TYPES

AUTO_LAYOUT_ORIENTATIONS

BOUNDARY_TYPES

BOX

C4_ELEMENTS_TYPES

CANVAS_EVENTS

COMPONENT_TYPES

CONTAINER_TYPES

DEFAULT_GRAPHVIZ_SUBGRAPH_PAD

DEFAULT_SUBGRAPH_FAKE_FONT_SIZE

DEFAULT_SUBGRAPH_INNER_MARGIN

DEFAULT_SUBGRAPH_OUTER_MARGIN

DEPLOYMENT_NODE_TYPES

DIAGRAM_ELEMENTS_TYPES

DIAGRAM_EXTERNAL_LINK_PROTOCOLS

DIAGRAM_INTERNAL_LINK_PROTOCOLS

DIAGRAM_LINKS_SEPARATOR

DIAGRAM_TYPES

DIAGRAM

ELEMENT

GRAPHVIZ_DPI

LEGEND

MOUSE_EVENTS

OBJECT_EVENTS

PENWIDTH

PERIPHERIES

PERIPHERY_SIZE

PERSON_TYPES

RELATIONSHIP_TYPES

RELATIONSHIP

SYSTEM_TYPES

TAGS_SEPARATOR

X_PAD

Y_PAD

Type Aliases

Type Alias

Description

AddElementTagType

BoundaryType

C4ElementType

C4ElementTypeExtended

ComponentType

ContainerType

DeploymentNodeType

DiagramElementType

DiagramOrientation

DiagramType

ElementType

PersonType

RelationshipType

ShapeType

SystemType

Keadex logo
Keadex ©2025. Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.