glejeune / Ruby-Graphviz

[MIRROR] Ruby interface to the GraphViz graphing tool
https://gitlab.com/glejeune/ruby-graphviz
Other
608 stars 116 forks source link

Make it possible to define defaults #131

Open roolo opened 7 years ago

roolo commented 7 years ago

For example defaults for node

digraph G {
  edge [color=red];
  node [shape=box,style=filled,color=".7 .3 1.0"];
  execute -> compare;
}

Based on http://www.graphviz.org/Documentation/dotguide.pdf -- Code for Figure 3: Fancy graph