Skip to content

@eightkk/vue-weave / core / NetworkEdgeSlot

Interface: NetworkEdgeSlot<E> ​

Defined in: src/core/types.ts:481

Props of the NetworkGraph edge slot. E types the edge.

Type Parameters ​

E ​

E extends GraphEdge = GraphEdge

Properties ​

band? ​

optional band?: GraphEdgeBand

Defined in: src/core/types.ts:495

The band drawing of the edge from the edgeBands prop; absent for an edge without a band.


dimmed? ​

optional dimmed?: boolean

Defined in: src/core/types.ts:491


edge ​

edge: E

Defined in: src/core/types.ts:482


highlighted ​

highlighted: boolean

Defined in: src/core/types.ts:490

True when the edge is in highlightedEdgeIds.


path ​

path: string

Defined in: src/core/types.ts:484

The routed SVG path in chart coordinates.


related: boolean

Defined in: src/core/types.ts:488

True when both ends of the edge are in relatedIds.


scale ​

scale: number

Defined in: src/core/types.ts:493

The current camera scale, for level-of-detail rendering in custom edge slots.


selected ​

selected: boolean

Defined in: src/core/types.ts:486

True when the edge is selected through selectedEdgeIds (only with edgesSelectable). Before 0.4.0 this was the related state.

Released under the MIT License.