Viz/graphviz.org+doc+info+attrs.html

From VistApedia
Revision as of 04:05, 5 February 2021 by DavidWhitten (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
graph G {
  B \-\- A [taillabel = "tail"]
}

Non-directed-graph.svg


digraph G {
 graph [class="cats"];

 subgraph cluster_big {
   graph [class="big_cats"];

   "Lion" [class="yellow social"];
   "Snow Leopard" [class="white solitary"];
 }
}

Lions.svg

digraph G {

 a -> b [dir=both color="red:blue"]
 c -> d [dir=none color="green:red;0.25:blue"]

}

Multi-color edges.svg


digraph G {

 a -> c;
 a -> b;
 b -> c [constraint=false];

}

Triangle.svg