本文へ移動

@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? ​

optional animated?: 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? ​

optional dashed?: 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? ​

optional data?: D

Defined in: src/core/graph.ts:34

Application data. The components pass it through untouched.


edgeStyle? ​

optional edgeStyle?: 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 ​

GraphConnection.from


fromPort? ​

optional fromPort?: string

Defined in: src/core/graph.ts:398

Inherited from ​

GraphConnection.fromPort


id ​

id: string

Defined in: src/core/graph.ts:31


label? ​

optional label?: string

Defined in: src/core/graph.ts:32


markerEnd? ​

optional markerEnd?: GraphEdgeMarker

Defined in: src/core/graph.ts:43

Decoration at the target end, drawn by NetworkGraph and renderGraphSvg. Default 'arrow'.


markerStart? ​

optional markerStart?: GraphEdgeMarker

Defined in: src/core/graph.ts:45

Decoration at the source end, drawn by NetworkGraph and renderGraphSvg. Default 'none'.


points? ​

optional points?: readonly GraphPoint[]

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 ​

GraphConnection.to


toPort? ​

optional toPort?: string

Defined in: src/core/graph.ts:399

Inherited from ​

GraphConnection.toPort

MIT ライセンスで公開しています。