TA159

Notas, resueltos y trabajos practicos de la materia Sistemas Gráficos
Index Commits Files Refs Submodules README LICENSE
commit 539d4843099d9a32575ea03d006f275b31395cab
parent c00a1400a5480c5ac78b89f053ac18544e9ef74d
Author: Martin Kloeckner <mjkloeckner@gmail.com>
Date:   Mon, 24 Jun 2024 14:05:17 -0300

add `train-tree` graph and `dot` file for building it

to compile the `dot` file into a `png`, use the following command:

```console
dot -Gdpi=300 train-tree.gv -T png -o ./train-tree.png
```

Diffstat:
Atp/train-tree.gv | 21+++++++++++++++++++++
Atp/train-tree.png | 0
2 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/tp/train-tree.gv b/tp/train-tree.gv
@@ -0,0 +1,21 @@
+digraph G {
+    node [ shape=box ];
+    rankdir=TD;
+    compound=true;
+    
+    subgraph cluster {
+        label="Train";
+        style="dashed";
+        A [ label="Chassis" ];
+        B [ label="Chamber" ];
+        C [ label="Cabin" ];
+        D [ label="Axes" ]
+        E [ label="Wheels" ]
+        F [ label="Cylinders" ]
+        G [ label="Floor" ]
+        H [ label="Cranks" ]
+    }
+
+    A -> {B, C, D, F, G, H};
+    D -> E;
+}
diff --git a/tp/train-tree.png b/tp/train-tree.png
Binary files differ.