|
Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecty.layout.planar.PlanarityTestWrapper
public class PlanarityTestWrapper
A class used to wrap any instance of InitialPlanarSubgraph to
make sure that the complete graph is obtained when using InitialPlanarSubgraph.createPlanarization(PlanarInformation).
| Constructor Summary | |
|---|---|
PlanarityTestWrapper(InitialPlanarSubgraph nonPlanarGraphHandler)
Creates an instance of PlanarityTestWrapper. |
|
| Method Summary | |
|---|---|
void |
createPlanarization(PlanarInformation pi)
Finds a planar subgraph in the specified graph and saves a planar embedding for it in pi. |
EdgeList |
getHiddenEdges()
Returns a list of edges that were not added to the planar subgraph returned by the function createPlanarization(PlanarInformation). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PlanarityTestWrapper(InitialPlanarSubgraph nonPlanarGraphHandler)
PlanarityTestWrapper.
nonPlanarGraphHandler - An instance of InitialPlanarSubgraph which will should
be used for non-planar graphs.createPlanarization(PlanarInformation)| Method Detail |
|---|
public void createPlanarization(PlanarInformation pi)
pi. If the specified graph is planar,
a planar embedding of the whole graph will be computed. Otherwise, another instance
of InitialPlanarSubgraph will be used to compute a planar subgraph.
If the computed subgraph does not contain all edges, a list of missing edges can be
obtained with getHiddenEdges().
createPlanarization in interface InitialPlanarSubgraphpi - The graph for which a planar Subgraph should be computed.PlanarityTestWrapper(InitialPlanarSubgraph)public EdgeList getHiddenEdges()
createPlanarization(PlanarInformation).
The function createPlanarization(PlanarInformation) must be called first.
getHiddenEdges in interface InitialPlanarSubgraph
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||