|
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.CombinatorialEmbedder
public class CombinatorialEmbedder
Interface implementation for an embedder.
Field Summary | |
---|---|
static short |
DFS_TREE
|
static short |
GT
|
Constructor Summary | |
---|---|
CombinatorialEmbedder()
|
Method Summary | |
---|---|
void |
dispose()
Undoes the changes in the graph and removes the complete help info |
void |
embed()
This method does the whole embedding work |
long |
getMaximumDuration()
|
protected InitialPlanarSubgraph |
getPlanarSubgraphInstance(short _subgraphType)
Returns an instance of which a planar subgraph. |
int |
getPlanarSubgraphRandomizationIterations()
Returns the number of iterations used by the planar subgraph algorithm. |
int |
getRerouteIterations()
Returns the number of iterations over the list of all split edges. |
boolean |
getUseBiconnectedComponents()
Returns indicator for usage of bccs is allowed or not resp. |
boolean |
getUseEdgeRerouting()
Returns indicator for edge re-routing is allowed or not resp. |
boolean |
getUseFaceMaximization()
Returns if the usage of a face maximizer is wanted or not. |
boolean |
getUseRandomization()
Returns whether randomization is used or not. |
void |
setMaximumDuration(long maximumDuration)
|
void |
setPlanarInformation(PlanarInformation planar)
Sets the planar information which will contain the embedding. |
void |
setPlanarSubgraphRandomizationIterations(int planarSubgraphRandomizationIterations)
Sets the number of iterations used by the planar subgraph algorithm. |
void |
setRerouteIterations(int i)
Sets the number of iterations over the list of all split edges |
void |
setUseBiconnectedComponents(boolean b)
Sets indicator for usage of bccs is allowed or not resp. |
void |
setUseEdgeRerouting(boolean b)
Sets indicator for edge re-routing is allowed or not resp. |
void |
setUseFaceMaximization(boolean b)
Sets indicator if the usage of a face maximizer is wanted or not. |
void |
setUseRandomization(boolean b)
Sets whether randomization is used or not. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final short GT
public static final short DFS_TREE
Constructor Detail |
---|
public CombinatorialEmbedder()
Method Detail |
---|
public void setPlanarInformation(PlanarInformation planar)
setPlanarInformation
in interface Embedder
planar
- a PlanarInformation objectpublic long getMaximumDuration()
public void setMaximumDuration(long maximumDuration)
setMaximumDuration
in interface y.layout.orthogonal.general.MaximumDurationAware
public void setUseEdgeRerouting(boolean b)
b
- true
if edge re-routing is wanted,
else false
public boolean getUseEdgeRerouting()
public void setUseBiconnectedComponents(boolean b)
b
- true
if bcc usage is wanted, else false
public boolean getUseBiconnectedComponents()
true
if bcc usage is wanted, else false
public void setUseFaceMaximization(boolean b)
b
- true
if one face of the embedding should be
maximized, else false
public boolean getUseFaceMaximization()
true
if one face of the embedding should be
maximized, else false
public void setRerouteIterations(int i)
i
- the number of iterationspublic int getRerouteIterations()
public void setUseRandomization(boolean b)
b
- true
if randomization is wanted,
else false
public boolean getUseRandomization()
true
if randomization is wanted,
else false
public int getPlanarSubgraphRandomizationIterations()
public void setPlanarSubgraphRandomizationIterations(int planarSubgraphRandomizationIterations)
planarSubgraphRandomizationIterations
- positive number.public void embed()
embed
in interface Embedder
public void dispose()
dispose
in interface Embedder
protected InitialPlanarSubgraph getPlanarSubgraphInstance(short _subgraphType)
_subgraphType
- specifies the technique used to find a planar subgraph
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |