mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-13 09:32:24 -06:00
28d406c040
The dot format generation was done with a mix of code from the terraform package and the dot package. Unify the dot generation code, and it into the dag package. Use an intermediate structure to allow a dag.Graph to marshal itself directly. This structure will be ablt to marshal directly to JSON, or be translated to dot format. This was we can record more information about the graph in the debug logs, and provide a way to translate those logged structures to dot, which is convenient for viewing the graphs. |
||
---|---|---|
.. | ||
dag_test.go | ||
dag.go | ||
dot.go | ||
edge_test.go | ||
edge.go | ||
graph_test.go | ||
graph.go | ||
marshal.go | ||
set.go | ||
tarjan_test.go | ||
tarjan.go |