Type Definitions
DisplayLinkType
Defines the {type, dir, width, color, arrow, arrowSize, arrowShape, style} type for link, linka and linkg fields of OrgChart.Options object.
Type:
- object
Properties:
Name | Type | Description |
---|---|---|
type |
exontrol.LinkTypeEnum | Specifies the type of the link.
The exontrol.LinkTypeEnum supports the following values:
null {null}, indicates the default type of link, which is similar with rectangular-link but more symmetrical (equivalent of -1) |
dir |
number | The dir field specifies whether the link's direction is shown or hidden.
The dir field can be any of the following values:
null {null}, shows the direction/arrow where the link ends (equivalent of 2) |
width |
number | The width field defines the size/width of the link. Example: null {null}, indicates links of 1-pixel wide |
color |
string | The color field specifies the color to show the link (defines the color of the link as a CSS color format). Example: null {null}, indicates a black link |
arrow |
string | The arrow field indicates the arrow's color (if it is missing or not specified the arrow is shown using the link's color). Example: null {null}, indicates that the link's color defines the color of the link's arrow |
arrowSize |
number | The arrowSize field indicates the arrow's size (if it is missing or not specified the arrow's size is defined by link's width). Example: null {null}, indicates that the link's width defines the size of the link's arrow |
arrowShape |
object | The arrowShape field defines the custom-shape to draw the link's arrow, as an object of exontrol.Def.Shape type. Example: null {null}, indicates that the link's arrow is shown by default as a triangle oriented to point the direction |
style |
null | number | Array.<number> | The style field defines the style of the link. Could be any of the following:
null {null}, defines a solid grid-lines |