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.Object
Simple utility to create a graph in the dot language
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static interface
DOT.Attribute
(package private) class
DOT.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.String
id
(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.String
getName(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.String
render()
private void
vertex(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)
-
-