CustomNode

Based on CustomNodeSpecification interface.

Returns a custom-defined node that's not based on an ECInstance.

Attributes

Name Required? Type Default Meaning Performance Notes
Node values
type Yes string Type of the node.
label Yes string Label of the node. May be localized.
description No string "" Description of the node. May be localized.
imageId No string "" Id of the image to use for this custom node.
Filtering
hideExpression No ECExpression "" An ECExpression that indicates whether a node should be hidden or not. Expensive
hideIfNoChildren No boolean false Hide nodes if they don't have children. Expensive
hideNodesInHierarchy No boolean false Hide nodes provided by this specification and directly show their children. Expensive
Ordering
priority No number 1000 Changes the order of specifications used to create nodes for specific branch.
Misc.
hasChildren No "Always" | "Never" | "Unknown" "Unknown" Tells the rules engine that nodes produced using this specification always or never have children. Improves
relatedInstances No RelatedInstanceSpecification[] [] Specifications of related instances that can be used in nodes' creation.
nestedRules No ChildNodeRule[] [] Specifications of nested child node rules.

Example

{
  "specType": "CustomNode",
  "type": "T_NodeA",
  "label": "@MyApp:Label_NodeA@",
  "description": "@MyApp:Description_NodeA@",
  "priority": 2000
}

Last Updated: 29 November, 2022