Class ConfigService<NodeType, EdgeType>
Constructors
constructor
Type parameters
Parameters
Returns ConfigService<NodeType, EdgeType>
Methods
getActionInterceptor
Returns undefined | ActionInterceptor<NodeType, EdgeType>
getBoundRenderContextMenu
Parameters
type: string
Optional id: string
getConnectorPlacement
getConnectorPlacementForNodeType
Parameters
getRenderDestroy
getRenderEdge
- getRenderEdge(): undefined | ((edge: DiagramMakerEdge<EdgeType>, diagramMakerContainer: HTMLElement, consumerContainer?: void | HTMLElement) => undefined | void | HTMLElement)
Returns undefined | ((edge: DiagramMakerEdge<EdgeType>, diagramMakerContainer: HTMLElement, consumerContainer?: void | HTMLElement) => undefined | void | HTMLElement)
getRenderNode
- getRenderNode(): (node: DiagramMakerNode<NodeType>, diagramMakerContainer: HTMLElement, consumerContainer?: void | HTMLElement) => undefined | void | HTMLElement
Returns (node: DiagramMakerNode<NodeType>, diagramMakerContainer: HTMLElement, consumerContainer?: void | HTMLElement) => undefined | void | HTMLElement
- (node: DiagramMakerNode<NodeType>, diagramMakerContainer: HTMLElement, consumerContainer?: void | HTMLElement): undefined | void | HTMLElement
Parameters
diagramMakerContainer: HTMLElement
Optional consumerContainer: void | HTMLElement
Returns undefined | void | HTMLElement
getRenderPanel
- getRenderPanel(name: string): (panel: DiagramMakerPanel, state: DiagramMakerData<NodeType, EdgeType>, diagramMakerContainer: HTMLElement, consumerContainer?: void | HTMLElement) => undefined | void | HTMLElement
Parameters
Returns (panel: DiagramMakerPanel, state: DiagramMakerData<NodeType, EdgeType>, diagramMakerContainer: HTMLElement, consumerContainer?: void | HTMLElement) => undefined | void | HTMLElement
- (panel: DiagramMakerPanel, state: DiagramMakerData<NodeType, EdgeType>, diagramMakerContainer: HTMLElement, consumerContainer?: void | HTMLElement): undefined | void | HTMLElement
Parameters
diagramMakerContainer: HTMLElement
Optional consumerContainer: void | HTMLElement
Returns undefined | void | HTMLElement
getRenderPotentialNode
- getRenderPotentialNode(): undefined | ((node: DiagramMakerPotentialNode, diagramMakerContainer: HTMLElement, consumerContainer?: void | HTMLElement) => undefined | void | HTMLElement)
Returns undefined | ((node: DiagramMakerPotentialNode, diagramMakerContainer: HTMLElement, consumerContainer?: void | HTMLElement) => undefined | void | HTMLElement)
getShapeForNodeType
- getShapeForNodeType(typeId: string): undefined | ShapeType
Parameters
Returns undefined | ShapeType
getShowArrowhead
- getShowArrowhead(): boolean
Returns boolean
getSizeForNodeType
- getSizeForNodeType(typeId: string): undefined | Size
Parameters
Returns undefined | Size
getVisibleConnectorTypesForNodeType
Parameters