本文へ移動

@eightkk/vue-weave / core / NetworkNode

Interface: NetworkNode<D> ​

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

A node of NetworkGraph. D types the optional data payload; it defaults to unknown, so NetworkNode without a type argument is unchanged.

Extends ​

Type Parameters ​

D ​

D = unknown

Properties ​

data? ​

optional data?: D

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

Application data. The components pass it through untouched.


deletable? ​

optional deletable?: boolean

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

False keeps the node out of NetworkGraph deletion proposals (deletable).


detail? ​

optional detail?: string

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


draggable? ​

optional draggable?: boolean

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


event? ​

optional event?: NetworkNodeEvent

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

BPMN event border drawn by the default renderer and renderGraphSvg: start thin, intermediate double, end thick.


id ​

id: string

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

Inherited from ​

IdentifiedNode.id


label ​

label: string

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


labelPosition? ​

optional labelPosition?: NetworkNodeLabelPosition

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

Where the default renderer and renderGraphSvg draw the label and detail. Default 'inside'; 'below' draws them under the box, unclipped.


marker? ​

optional marker?: NetworkNodeMarker

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

Decorative BPMN symbol drawn by the default renderer and renderGraphSvg: a gateway or event symbol in the centre or a task type icon in the top inline-start corner. Hidden from assistive technology. Unknown values draw nothing.


ports? ​

optional ports?: readonly GraphPort[]

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

Inherited from ​

IdentifiedNode.ports


resizable? ​

optional resizable?: boolean

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

False hides the NetworkGraph resize handles of this node (resizable).


shape? ​

optional shape?: NetworkNodeShape

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

Outline drawn by the default renderer and renderGraphSvg. Default 'box'.


tone? ​

optional tone?: ChartTone

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

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