Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface GraphEdge

The edge shape, retrieved as props in [[FlowterFlowchart.edges]].

Graph prefix is used to make it consistent with GraphNode.

Hierarchy

Index

Properties

Optional color

color: undefined | string

The color of the edge. Defaults to DEFAULT_STROKE_COLOR.

Optional fontSize

fontSize: undefined | number

The text's font size. If not specified, it will follow the flowchart's settings.

from

from: string

The node id this edge is connecting from.

Optional marker

marker: EdgeMarker

Whether the marker is at the end or the start. Defaults to EdgeMarker.END.

Optional text

text: undefined | string

The text that this edge might have. If not specified, the text won't be rendered

to

to: string

The node id this edge is connecting to.

Optional type

type: EdgeType

The type of the edge. Defaults to [[EdgeType.BEND]].

Generated using TypeDoc