Package | com.yworks.graph.model |
Class | public class DummyNodeId |
Inheritance | DummyNodeId Object |
IFoldedGraph
view.
Instances of this type are passed to the various methods in FoldingManager
to identify collapsed group nodes inside IFoldedGraph
views.
See also
Property | Defined By | ||
---|---|---|---|
masterNode : INode [read-only]
The node instance in the FoldingManager's masterGraph that is represented by dummies in
a IFoldedGraph view. | DummyNodeId |
Method | Defined By | ||
---|---|---|---|
DummyNodeId(masterNode:INode)
Initializes a dummy node id for a collapsed dummy node in a IFoldedGraph view
using the provided master node. | DummyNodeId | ||
[static]
Initializes a dummy node id from an actual node in a IFoldedGraph. | DummyNodeId |
collapsed | property |
collapsed:Boolean
yworks_internal function get collapsed():Boolean
yworks_internal function set collapsed(value:Boolean):void
masterNode | property |
masterNode:INode
[read-only]
The node instance in the FoldingManager
's masterGraph
that is represented by dummies in
a IFoldedGraph
view.
public function get masterNode():INode
DummyNodeId | () | Constructor |
public function DummyNodeId(masterNode:INode)
Initializes a dummy node id for a collapsed dummy node in a IFoldedGraph
view
using the provided master node.
masterNode:INode — The node in the mastergraph this dummy node will represent
|
create | () | method |
public static function create(foldedGraph:IFoldedGraph, localNode:INode):DummyNodeId
Initializes a dummy node id from an actual node in a IFoldedGraph
.
Parameters
foldedGraph:IFoldedGraph — The graph that contains the localNode .
| |
localNode:INode — The node for which an id should be created.
|
DummyNodeId |
create2 | () | method |
yworks_internal static function create2(masterNode:INode, collapsed:Boolean):DummyNodeId
Parameters
masterNode:INode | |
collapsed:Boolean |
DummyNodeId |