new NodeTypeEnum()
The NodeTypeEnum type defines the types of nodes the control handles. It is used in the NodeOptions.show field to specify which descendant nodes are displayed, and in NodeOptions.showExpandGlyphs to determine which descendant nodes show expand/collapse glyphs.
Each NodeTypeEnum property can be specified in one of the following ways:
- A numeric value.
- A single enumeration constant.
- A combination of one or more compatible enumeration constants, separated by the | operator.
- A case-insensitive partial string containing one or more comma-separated names that match the enumeration constants.
For instance, the string "child,assistant,group" is equivalent to the numeric value 7, or to the combination of enumeration constants exNodeChild | exNodeAssistant | exNodeGroup.
Properties:
| Name | value | Type | Description |
|---|---|---|---|
exNodeChild |
1 |
number | The exNodeChild value specifies a node of child-type. A child node is a descendant node that is connected to its parent node with a straight line. It is the most common type of node in an organizational chart, representing a direct subordinate or a component of the parent node. |
exNodeAssistant |
2 |
number | The exNodeAssistant value specifies a node of assistant-type. An assistant node is a descendant node that is connected to its parent node with a dashed line. It typically represents a role or position that supports the parent node, but is not a direct subordinate. Assistant nodes are often used to indicate positions such as assistants, advisors, or support staff in an organizational chart. |
exNodeGroup |
4 |
number | The exNodeGroup value specifies a node of group-type. A group node is a descendant node that is connected to its parent node with a dotted line. It is used to represent a collection or category of nodes that are related to the parent node, but do not have a direct hierarchical relationship. Group nodes are often used to visually group together nodes that share common characteristics or belong to the same department or team in an organizational chart. |
Members
(static) exNodeAssistant :number
The exNodeAssistant value specifies a node of assistant-type. An assistant node is a descendant node that is connected to its parent node with a dashed line. It typically represents a role or position that supports the parent node, but is not a direct subordinate. Assistant nodes are often used to indicate positions such as assistants, advisors, or support staff in an organizational chart.
Type:
- number
- Default Value:
- 2
(static) exNodeChild :number
The exNodeChild value specifies a node of child-type. A child node is a descendant node that is connected to its parent node with a straight line. It is the most common type of node in an organizational chart, representing a direct subordinate or a component of the parent node.
Type:
- number
- Default Value:
- 1
(static) exNodeGroup :number
The exNodeGroup value specifies a node of group-type. A group node is a descendant node that is connected to its parent node with a dotted line. It is used to represent a collection or category of nodes that are related to the parent node, but do not have a direct hierarchical relationship. Group nodes are often used to visually group together nodes that share common characteristics or belong to the same department or team in an organizational chart.
Type:
- number
- Default Value:
- 4