Package | com.yworks.yfiles.layout.multipage |
Interface | public interface NodeInfo |
Property | Defined 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 |
id | property |
id:Object
[read-only] Returns the unique id of the related node.
public function get id():Object
pageNo | property |
pageNo:int
[read-only] Returns the page of the related node. This information is available after the layout.
public function get pageNo():int
referencingNode | property |
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
.
public function get referencingNode():Node
See also
representedNode | property |
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.
public function get representedNode():Node
See also
type | property |
type:int
[read-only] Returns the type of the related node.
public function get type():int