Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DiagramMakerEdge<EdgeType>

Interface for storing state of a given diagram maker edge.

Type parameters

  • EdgeType

    The type of data stored per edge by the consumer

Hierarchy

  • DiagramMakerEdge

Index

Properties

consumerData?: EdgeType

Contains data managed by the consumer

dest: string

References the id for the node where this edge ends. Leads to inconsistencies if this refers to a node that doesnt exist.

diagramMakerData: { selected?: boolean }

Contains edge data managed by diagram maker

Type declaration

  • Optional Readonly selected?: boolean

    Denotes whether the edge is selected

id: string

Unique identifier for the edge. Autogenerated for edges newly created. Supplied for edges already present when diagram maker initializes. In the case it is supplied, please ensure that this is unique.

src: string

References the id for the node where this edge originates. Leads to inconsistencies if this refers to a node that doesnt exist.

Generated using TypeDoc