日本語
@eightkk/vue-weave / core / GraphEdge
Interface: GraphEdge<D>
Defined in: src/core/graph.ts:30
An edge between two nodes. D types the optional data payload; it defaults to unknown.
Extends
Type Parameters
D
D = unknown
Properties
animated?
optionalanimated?:boolean
Defined in: src/core/graph.ts:50
Draws the default NetworkGraph edge with a dash pattern that flows from source to target (class vw-is-animated), still under prefers-reduced-motion: reduce and in print. renderGraphSvg draws it dashed without motion.
dashed?
optionaldashed?:boolean
Defined in: src/core/graph.ts:55
Draws the edge with a static dash pattern (class vw-is-dashed, stroke-dasharray="5 4" in renderGraphSvg), for example a BPMN message flow. animated wins when both are set.
data?
optionaldata?:D
Defined in: src/core/graph.ts:34
Application data. The components pass it through untouched.
edgeStyle?
optionaledgeStyle?:GraphEdgeStyle
Defined in: src/core/graph.ts:41
Routing style of this edge. Overrides the NetworkGraph edgeStyle prop and the style option of routeGraphEdges.
from
from:
string
Defined in: src/core/graph.ts:396
Inherited from
fromPort?
optionalfromPort?:string
Defined in: src/core/graph.ts:398
Inherited from
id
id:
string
Defined in: src/core/graph.ts:31
label?
optionallabel?:string
Defined in: src/core/graph.ts:32
markerEnd?
optionalmarkerEnd?:GraphEdgeMarker
Defined in: src/core/graph.ts:43
Decoration at the target end, drawn by NetworkGraph and renderGraphSvg. Default 'arrow'.
markerStart?
optionalmarkerStart?:GraphEdgeMarker
Defined in: src/core/graph.ts:45
Decoration at the source end, drawn by NetworkGraph and renderGraphSvg. Default 'none'.
points?
optionalpoints?: readonlyGraphPoint[]
Defined in: src/core/graph.ts:39
Optional waypoints in chart coordinates. routeGraphEdges (and NetworkGraph) draws the edge through them: a polyline in the straight and orthogonal styles and a smooth curve through the points in the curve style.
to
to:
string
Defined in: src/core/graph.ts:397
Inherited from
toPort?
optionaltoPort?:string
Defined in: src/core/graph.ts:399