|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- the type of graph that this importer can transform into a layered graph.public interface IGraphImporter<T>
Interface for importer classes for the layered graph structure. Graph importers
should usually subclass AbstractGraphImporter
instead of implementing this
interface directly.
Graph importers are encouraged to set the Properties#GRAPH_PROPERTIES
property on imported graphs.
Method Summary | |
---|---|
void |
applyLayout(LayeredGraph layeredGraph)
Apply the computed layout of the given layered graph to the original input graph. |
LayeredGraph |
importGraph(T graph)
Create a layered graph from the given graph. |
Method Detail |
---|
LayeredGraph importGraph(T graph)
graph
- the graph to turn into a layered graph.
null
if the input was not recognizedvoid applyLayout(LayeredGraph layeredGraph)
layeredGraph
- a graph for which layout is applied
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |