Packagecom.yworks.yfiles.layout.multipage
Interfacepublic interface NodeInfo

A class that holds all information related to a node.



Public Properties
 PropertyDefined By
  id : Object
[read-only] Returns the unique id of the related node.
NodeInfo
  pageNo : int
[read-only] Returns the page of the related node.
NodeInfo
  referencingNode : Node
[read-only] Returns the referencing node.
NodeInfo
  representedNode : Node
[read-only] Returns the represented node (always a node of the input graph).
NodeInfo
  type : int
[read-only] Returns the type of the related node.
NodeInfo
Property Detail
idproperty
id:Object  [read-only]

Returns the unique id of the related node.


Implementation
    public function get id():Object
pageNoproperty 
pageNo:int  [read-only]

Returns the page of the related node. This information is available after the layout.


Implementation
    public function get pageNo():int
referencingNodeproperty 
referencingNode:Node  [read-only]

Returns the referencing node. That is, if the related node has type connector (com.yworks.yfiles.layout.multipage.NodeInfoCompanion.TYPE_CONNECTOR) this method returns the opposite connector node, if the related node has type proxy reference (com.yworks.yfiles.layout.multipage.NodeInfoCompanion.TYPE_PROXY_REFERENCE) it returns the corresponding proxy node, if the related node has type proxy (com.yworks.yfiles.layout.multipage.NodeInfoCompanion.TYPE_PROXY) it returns the corresponding proxy reference node; otherwise it returns null.


Implementation
    public function get referencingNode():Node

See also

representedNodeproperty 
representedNode:Node  [read-only]

Returns the represented node (always a node of the input graph). That is, if the related node has type connector (com.yworks.yfiles.layout.multipage.NodeInfoCompanion.TYPE_CONNECTOR) this method returns the neighbor of the matching connector node, if the related node has type proxy (com.yworks.yfiles.layout.multipage.NodeInfoCompanion.TYPE_PROXY) it returns the corresponding original node, if the related node has type proxy reference (com.yworks.yfiles.layout.multipage.NodeInfoCompanion.TYPE_PROXY_REFERENCE) it returns null, and, otherwise, it returns the corresponding node in the input graph.


Implementation
    public function get representedNode():Node

See also

typeproperty 
type:int  [read-only]

Returns the type of the related node.


Implementation
    public function get type():int