java.lang.Object | ||
↳ | com.google.inject.grapher.AbstractInjectorGrapher | |
↳ | com.google.inject.grapher.graphviz.GraphvizGrapher |
InjectorGrapher implementation that writes out a Graphviz DOT file of the graph.
Dependencies are bound in GraphvizModule
.
Specify the PrintWriter to output to with setOut(PrintWriter)
.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Turns a List of
ArrowType s into a String that
represents combining them. | |||||||||||
Creates the "label" for a node.
| |||||||||||
Adds a new binding edge to the graph.
| |||||||||||
Adds a new dependency edge to the graph.
| |||||||||||
Adds a new implementation node to the graph.
| |||||||||||
Adds a new instance node to the graph.
| |||||||||||
Adds a new interface node to the graph.
| |||||||||||
Performs any post processing required after all nodes and edges have been added.
| |||||||||||
Resets the state of the grapher before rendering a new graph.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
Turns a List of ArrowType
s into a String that
represents combining them. With Graphviz, that just means concatenating
them.
Creates the "label" for a node. This is a string of HTML that defines a
table with a heading at the top and (in the case of
ImplementationNode
s) rows for each of the member fields.
Adds a new binding edge to the graph.
Adds a new dependency edge to the graph.
Adds a new implementation node to the graph.
Adds a new instance node to the graph.
Adds a new interface node to the graph.
Performs any post processing required after all nodes and edges have been added.
Resets the state of the grapher before rendering a new graph.