跳到主要内容

mind-elixir.arrow

Home > mind-elixir > Arrow

Arrow interface

Signature:

export interface Arrow<M = unknown> 

Properties

Property

Modifiers

Type

Description

bidirectional?

boolean

(Optional) whether the arrow is bidirectional

delta1?

{ x: number; y: number; }

(Optional) offset of control point from start point

delta2?

{ x: number; y: number; }

(Optional) offset of control point from end point

from

Uid

id of start node

id

string

label

string

label of arrow

metadata?

M

(Optional) Generic metadata for the arrow, can be used to store any custom data.

style?

ArrowStyle

(Optional) style properties for the arrow

to

Uid

id of end node