Last active
June 13, 2024 20:45
-
-
Save mjkloeckner/41054a8d6c8b6b6e86725637d6230ffa to your computer and use it in GitHub Desktop.
DOT specification for graph of objects and attributes in CB100/tp2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
digraph G { | |
node [ shape=box ]; | |
compound=true; | |
subgraph cluster_objetos { | |
rankdir=same | |
node [ shape=box, style=filled, fillcolor=white ]; | |
C [ label="Barrio" ]; | |
D [ label="Parada" ]; | |
label="Objetos"; | |
// bgcolor="#DD2D4A"; | |
graph [style=dashed]; | |
} | |
C1 [ label="Nombre" ]; | |
C2 [ label="Comuna" ]; | |
C3 [ label="Altura Plano" ]; | |
C -> {C1, C2, C3}; | |
D1 [ label="Líneas" ]; | |
D11 [ label="Sentido" ]; | |
D12 [ label="Número" ]; | |
D1 -> {D11, D12}; | |
D2 [ label="Coordenadas" ]; | |
D3 [ label="Dirección" ]; | |
D31 [ label="Calle" ]; | |
D32 [ label="Altura" ]; | |
D3 -> {D31, D32}; | |
D -> {D1, D2, D3}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Generate an image with
dot -Gdpi=300 objetos.gv -T png -o ./objetos.png