Package | com.yworks.yfiles.layout.planar |
Class | public class BCCSubgraph |
Inheritance | BCCSubgraph YObject Object |
Implements | InitialPlanarSubgraph |
Property | Defined By | ||
---|---|---|---|
hiddenEdges : EdgeList [read-only]
Returns a list of edges that have been removed in order to gain a planarization of the input graph. | BCCSubgraph |
Method | Defined By | ||
---|---|---|---|
BCCSubgraph(ips:InitialPlanarSubgraph, init:Boolean = true) | BCCSubgraph | ||
createPlanarization(p:PlanarInformation):void
This method planarizes a graph by finding (a maximum) planar sub- graph. | BCCSubgraph | ||
dispose():void | BCCSubgraph | ||
equals(o:Object):Boolean | YObject | ||
getClass():Class [override] | BCCSubgraph | ||
hashCode():int | YObject | ||
[static] | BCCSubgraph |
Method | Defined By | ||
---|---|---|---|
initBCCSubgraph(ips:InitialPlanarSubgraph):void
Initializes this object. | BCCSubgraph | ||
traceComponentEdgeOrder(edgeOrder:NodeMap):void
This method traces the edge order of the embeddings of biconnected components. | BCCSubgraph |
hiddenEdges | property |
hiddenEdges:EdgeList
[read-only]
Returns a list of edges that have been removed in order to gain a planarization of the input graph.
The createPlanarization
method of this class must have been called earlier to compute the list of hidden edges. If not so, a runtime exception is thrown!
public function get hiddenEdges():EdgeList
Error — if createPlanarization has not been called prior to calling this method.
|
See also
BCCSubgraph | () | Constructor |
public function BCCSubgraph(ips:InitialPlanarSubgraph, init:Boolean = true)
Parameters
ips:InitialPlanarSubgraph | |
init:Boolean (default = true ) — An internally used switch to help handle proper instance initialization in inheritance chains where classes can have multiple constructor-like factory methods.
This parameter can safely be ignored/omitted when calling the constructor.
|
createPlanarization | () | method |
public function createPlanarization(p:PlanarInformation):void
This method planarizes a graph by finding (a maximum) planar sub- graph.
To gain a planar graph, sometimes some edges have to be removed in order to prevent crossings. The removed edges are returned by the method getHiddenEdges()
below. A circular edge order is also computed. Note: the input graph is modified
Parameters
p:PlanarInformation — the PlanarInformation object associated with the input graph
|
dispose | () | method |
public function dispose():void
getClass | () | method |
override public function getClass():Class
ReturnsClass |
initBCCSubgraph | () | method |
protected final function initBCCSubgraph(ips:InitialPlanarSubgraph):void
Initializes this object. See the documentation of the corresponding factory method newBCCSubgraph()
for details.
Parameters
ips:InitialPlanarSubgraph |
See also
newBCCSubgraph | () | method |
public static function newBCCSubgraph(ips:InitialPlanarSubgraph):BCCSubgraph
Parameters
ips:InitialPlanarSubgraph |
BCCSubgraph |
traceComponentEdgeOrder | () | method |
protected function traceComponentEdgeOrder(edgeOrder:NodeMap):void
This method traces the edge order of the embeddings of biconnected components. The logged information is needed to build each node's circular edge order to gain a global (graph wide) embedding.
Parameters
edgeOrder:NodeMap |