public class DotImport extends Object
Graph
with DotAttributes
from a Graphviz DOT string or file.
The created Graph
follows the structure of the DOT input very closely.
Subgraphs (including clusters) are represented by a Node
with a nested Graph
,
where the graph holds all attributes (like the name). If a node is used in multiple (sub-)graphs,
it will be contained in the graph where it is defined (first occurrence).Constructor and Description |
---|
DotImport() |
Modifier and Type | Method and Description |
---|---|
List<org.eclipse.gef.graph.Graph> |
importDot(File dotFile) |
List<org.eclipse.gef.graph.Graph> |
importDot(String dotString) |
Copyright (c) 2014 itemis AG and others. All rights reserved.