deps2dotThis is not strictly related to UML but this script is how all this started, plus it provides a
convenient and terse syntax as compared with raw Graphviz or classes2dot.
deps2dot is designed to handle a very narrow class of graphs — dependency graphs.
There are many uses for dependency graphs, e.g.:
The syntax accepted by deps2dot is very simple:
Dependent:
Dependency_1
Dependency_2
:
Dependency_N
This states that Dependent depends on each Dependency_i.
Conversely, dependents can be grouped too:
Dependent_1:
Dependent_2:
:
Dependent_N:
Dependency
This states that each Dependent_i depends on Dependency.
Also, both groupings can be used at the same time:
Dependent_1:
Dependent_2:
Dependency_1
Dependency_2
Such syntax states that for each pair (i, j),
Dependent_i depends on Dependency_j.
Each dependent must begin in the first position of the line and must end with a colon and newline, and each dependency must be indented from the beginning of line with one or more space or tab.