Package aQute.lib.dot
Class DOT<Vertex>
- java.lang.Object
-
- aQute.lib.dot.DOT<Vertex>
-
- Type Parameters:
Vertex- the type of vertex
public class DOT<Vertex> extends java.lang.ObjectSimple utility to create a graph in the dot language
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static interfaceDOT.Attribute(package private) classDOT.Edge
-
Field Summary
Fields Modifier and Type Field Description (package private) MultiMap<DOT.Edge,DOT.Attribute>edgeAttributes(package private) java.util.Map<Vertex,? extends java.util.Collection<Vertex>>graph(package private) java.util.List<DOT.Attribute>graphAttributes(package private) java.lang.Stringid(package private) java.util.Map<Vertex,java.lang.String>names(package private) MultiMap<Vertex,DOT.Attribute>vertexAttributes
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private java.lang.StringgetName(Vertex vertex)DOT<Vertex>name(Vertex vertex, java.lang.String string)DOT<Vertex>nodesep(double nodesep)DOT<Vertex>prune()DOT<Vertex>ranksep(double ranksep)java.lang.Stringrender()private voidvertex(java.util.Formatter f, Vertex from, Vertex to)
-
-
-
Field Detail
-
names
final java.util.Map<Vertex,java.lang.String> names
-
vertexAttributes
final MultiMap<Vertex,DOT.Attribute> vertexAttributes
-
edgeAttributes
final MultiMap<DOT.Edge,DOT.Attribute> edgeAttributes
-
graphAttributes
final java.util.List<DOT.Attribute> graphAttributes
-
id
final java.lang.String id
-
-
Method Detail
-
render
public java.lang.String render()
-
getName
private java.lang.String getName(Vertex vertex)
-
-