Does the DOT language support variables / aliases?
You can define default values in order to avoid repetition: digraph g{ node[fillcolor=red]; barn; house; … node[fillcolor=green]; farm; … edge[color=red]; barn -> house; edge[color=green]; barn –> farm; house –> farm; } Real variables are not supported. A more complex workaround would be to use gvpr – graph pattern scanning and processing language. gvpr reads and … Read more