Awesome Open Source
Awesome Open Source


Convert Terraform graphs to GML for use with yEd.


tf2yed [output.gml]

If no outputs is specified, output gous to stdout.


Build an executable with:

mvn clean package
cat script/ target/tf2yed-*-jar-with-dependencies.jar > tf2yed && chmod +x tf2yed

Move the tf2yed app to your path, then enter a Terraform directory and run:

terraform init
tf2yed <(terraform graph) > graph.gml

Open graph.gml with yEd, and execute the steps:

  • "Tools->Fit Node to Label"
  • "Layout->Hierarchial"

I generally order the graph bottom to top, and follow up with "Grouping->AutoGrouping" and/or "Tools->Centrality Measures" to get a good overview.

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Java (403,638
Graph (24,423
Terraform (12,312
Dot (5,280
Gml (98
Yed (15