This interface offers access to information associated with a node.
Inheritance Hierarchy
INodeInfo
Remarks
The information can be either obtained from getNodeInfo or getNodeInfo.
Type Details
- yfiles module
- layout-multipage
- yfiles-umd modules
- layout-multipage, layout
- Legacy UMD name
- yfiles.multipage.INodeInfo
See Also
Properties
Gets the unique ID of the node associated with this info object.
See Also
Gets the page number of the page graph that contains the node associated with this info object.
This information is first available after the layout run.
Gets the node that refers to the one associated with this info object.
Remarks
More precisely, if the node associated with this info object
- is a connector node, this method returns the matching connector node,
- is a proxy node, it returns the corresponding proxy reference node (or the associated common node if property createProxyReferenceNodes is disabled),
- is a proxy reference node, it returns the corresponding proxy node,
- or otherwise, it returns
null
.
See Also
Gets the node of the input graph that is represented by the node associated with this info object.
Remarks
Note that, for the special nodes inserted to guarantee that no information is lost, there are no corresponding nodes in the input graph. Hence, special nodes are mapped to common nodes in the following way:
- A connector node is mapped to the common node connected to the matching connector.
- A proxy node is mapped to the associated common node (i.e., the proxy is a copy of that node).
- A proxy reference node is not mapped to any node, and, thus this method returns
null
for such nodes.
All nodes of the page graphs are created by the layout algorithm, the input graph remains unchanged. Matching elements are mapped to the same element ID, see NODE_ID_DP_KEY, EDGE_ID_DP_KEY, NODE_LABEL_ID_DP_KEY and EDGE_LABEL_ID_DP_KEY. This method always returns a node of the input graph!
Gets the type of the node associated with this info object.