|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object y.layout.planar.BCCSubgraph
public class BCCSubgraph
This class calculates a planar subgraph for the each biconnected component of the graph and then puts these planar subgraphs together.
Constructor Summary | |
---|---|
BCCSubgraph(InitialPlanarSubgraph ips)
|
Method Summary | |
---|---|
void |
createPlanarization(PlanarInformation p)
This method planarizes a graph by finding (a maximum) planar sub- graph. |
void |
dispose()
|
EdgeList |
getHiddenEdges()
Returns a list of edges that have been removed in order to gain a planarization of the input graph. |
protected void |
traceComponentEdgeOrder(NodeMap edgeOrder)
This method traces the edge order of the embeddings of biconnected components. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BCCSubgraph(InitialPlanarSubgraph ips)
Method Detail |
---|
public void createPlanarization(PlanarInformation p)
getHiddenEdges()
below. A circular edge
order is also computed.
Note: the input graph is modified
createPlanarization
in interface InitialPlanarSubgraph
p
- the PlanarInformation
object associated with the
input graphpublic EdgeList getHiddenEdges()
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!
getHiddenEdges
in interface InitialPlanarSubgraph
EdgeList
keeping the hidden edges
java.lang.RuntimeException
- if createPlanarization
has not been
called prior to calling this method.createPlanarization(PlanarInformation)
protected void traceComponentEdgeOrder(NodeMap edgeOrder)
public void dispose()
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |