public class DotImport
extends java.lang.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 |
---|---|
java.util.List<org.eclipse.gef.graph.Graph> |
importDot(org.eclipse.gef.dot.internal.language.dot.DotAst dotAst) |
java.util.List<org.eclipse.gef.graph.Graph> |
importDot(java.io.File dotFile) |
java.util.List<org.eclipse.gef.graph.Graph> |
importDot(java.lang.String dotString) |
public java.util.List<org.eclipse.gef.graph.Graph> importDot(java.io.File dotFile)
public java.util.List<org.eclipse.gef.graph.Graph> importDot(java.lang.String dotString)
public java.util.List<org.eclipse.gef.graph.Graph> importDot(org.eclipse.gef.dot.internal.language.dot.DotAst dotAst)
Copyright (c) 2014 itemis AG and others. All rights reserved.