Différences
Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
| graphviz [2019/04/25 15:09] – créée phsw | graphviz [2023/02/13 14:21] (Version actuelle) – [Avoir une disposition en grille des sous-graphes indépendants] set graph order phsw | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| ====== GraphViz ====== | ====== GraphViz ====== | ||
| + | |||
| + | * [[python: | ||
| S' | S' | ||
| - | [[https:// | + | https:// |
| - | ------ | ||
| ==== Visualisation ==== | ==== Visualisation ==== | ||
| Ligne 12: | Ligne 14: | ||
| - | -------- | + | |
| ==== Syntaxe ==== | ==== Syntaxe ==== | ||
| Ligne 44: | Ligne 46: | ||
| * [[https:// | * [[https:// | ||
| * [[https:// | * [[https:// | ||
| + | |||
| + | |||
| + | |||
| + | ==== Forcer l' | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | L' | ||
| + | <code dot> | ||
| + | {rank = same; A -> B [style = invis];} | ||
| + | </ | ||
| + | |||
| + | |||
| + | |||
| + | ==== Avoir une disposition en grille des sous-graphes indépendants ==== | ||
| + | |||
| + | |||
| + | [[https:// | ||
| + | <code bash> | ||
| + | ccomps -x test.dot | dot | gvpack -array2 | neato -Tpng -n2 -o graph.png | ||
| + | </ | ||
| + | |||
| + | Il est possible de préciser l' | ||
| + | <code dot> | ||
| + | digraph G1 { | ||
| + | | ||
| + | | ||
| + | } | ||
| + | digraph G2 { | ||
| + | | ||
| + | d -> {e; f;}; | ||
| + | } | ||
| + | digraph G3 { | ||
| + | | ||
| + | g -> h; | ||
| + | } | ||
| + | digraph G4 { | ||
| + | | ||
| + | i -> j; | ||
| + | } | ||
| + | digraph G5 { | ||
| + | | ||
| + | {k; l;} -> m; | ||
| + | } | ||
| + | </ | ||