Except for the common properties, there are special configurations for each type of built-in Edges. The
styles of them depend on their keyShape. The common properties for built-in Edges can be refered to:
The id of the edge, MUST be a unique string
The id of the source node.
The id of the target node.
The type of the edge. It can be the type of a Built-in Edge, or a custom Edge. 'line' by default
The index of link points on the source node. The link point is the intersection of the edge and related node.
The index of link points on the target node. The link point is the intersection of the edge and related node.
The edge style.
style is an object to configure the stroke color, shadow, and so on. The complete configurations is listed in: Shape Properties。
label is a string which indicates the content of the label.
labelCfg is an object to configure the label. The commonly used configurations of labelCfg:
|refX||false||Number||x offset of the label|
|refY||false||Number||y offset of the label|
|position||false||String||The relative position to the edge. Options: |
|autoRotate||false||Boolean||Whether to activate ratating according to the edge automatically. |
|style||false||Object||The style property of the label. The complete configurations for the label style is listed in Shape Style Properties - Text|
The special properties for each built-in Edges can be found in the subdocuments of Built-in Edges.