|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--y.layout.planar.DrawingEmbedder
Computes a planar embedding from a planar drawing of a graph.
| Constructor Summary | |
DrawingEmbedder()
|
|
| Method Summary | |
void |
dispose()
Dispose unused information. |
void |
embed()
Calculate planar embedding. |
boolean |
getKeepBends()
Returns if bends should be replaced by dummy nodes. |
protected static void |
preprocessNode(LayoutGraph gd,
Node node,
y.geom.kernel.Kernel kernel)
|
static void |
preprocessNodes(LayoutGraph gd)
|
protected void |
printStatistics()
|
void |
setKeepBends(boolean _keepBends)
Sets if bends should be replaced by dummy nodes. |
void |
setNoLayoutEdgeMap(EdgeMap _noLayout)
Sets the map, for which edges the layout information cannot be used. |
void |
setNoLayoutNodeMap(NodeMap _noLayout)
Sets the map, for which nodes the layout information cannot be used. |
void |
setPlanarInformation(PlanarInformation _planar)
Sets the input planar information. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DrawingEmbedder()
| Method Detail |
public void setPlanarInformation(PlanarInformation _planar)
setPlanarInformation in interface Embedderpublic void setNoLayoutEdgeMap(EdgeMap _noLayout)
_noLayout - a map defined on the input planar graph.public void setNoLayoutNodeMap(NodeMap _noLayout)
_noLayout - a map defined on the input planar graph.public void setKeepBends(boolean _keepBends)
public boolean getKeepBends()
public void embed()
embed in interface Embedderpublic void dispose()
dispose in interface Embedderpublic static void preprocessNodes(LayoutGraph gd)
protected static void preprocessNode(LayoutGraph gd,
Node node,
y.geom.kernel.Kernel kernel)
protected void printStatistics()
|
© Copyright 2000-2003, yWorks GmbH. All rights reserved. 2003 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||