CustomNodeSpecification Interface

Creates a custom-defined node.



Name Type Description
description undefined | string Description of the node.  
imageId undefined | string Id of the image to use for this custom node.  
label string Label of the node.  
specType CustomNode Used for serializing to JSON.  
type string Type of the node.  

Inherited properties

Name Type Inherited from Description
doNotSort undefined | boolean ChildNodeSpecificationBase Set this flag to true to suppress default sorting of ECInstances returned by this specification.
hasChildren "Always" = undefined | "Never" = undefined | "Unknown" = undefined ChildNodeSpecificationBase This tells the rules engine that nodes produced using this
specification always or never have children.
hideExpression undefined | string ChildNodeSpecificationBase An ECExpression which
indicates whether a node should be hidden or not.
hideIfNoChildren undefined | boolean ChildNodeSpecificationBase Hide nodes if they don't have children.
hideNodesInHierarchy undefined | boolean ChildNodeSpecificationBase Hide nodes provided by this specification and directly show nodes of its children.
nestedRules undefined | ChildNodeRule[] ChildNodeSpecificationBase Nested rule specifications.
priority undefined | number ChildNodeSpecificationBase Defines the order in which specifications are evaluated and executed.
relatedInstances undefined | RelatedInstanceSpecification[] ChildNodeSpecificationBase Specifications of related instances that can be used in content creation.

Defined in

Last Updated: 10 September, 2019