1234567891011121314 |
- /* edges with a weight example */
- digraph {
- /* declare the node & style them */
- "Node 1" [shape=diamond, penwidth=3, style=filled, fillcolor="#FCD975"];
- "Node 2" [style=filled,fillcolor="#9ACEEB" ];
- "Node 3" [shape=diamond, style=filled, fillcolor="#FCD975" ];
- "Node 4" [style=filled, fillcolor="#9ACEEB" ]
- /* declare the edges & style them */
- "Node 1" -> "Node 2" [dir=none, weight=1, penwidth=3] ;
- "Node 1" -> "Node 3" [dir=none, color="#9ACEEB"] ;
- "Node 1" -> "Node 4" [arrowsize=.5, weight=2.]
- }
|