File: dot

package info (click to toggle)
ruby-rouge 4.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,836 kB
  • sloc: ruby: 38,168; sed: 2,071; perl: 152; makefile: 8
file content (20 lines) | stat: -rw-r--r-- 475 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * hacked from Wikipedia
 */

digraph graphname {
 // This attribute applies to the graph itself
 size="1,1";
 // The label attribute can be used to change the label of a node
 a [label="Foo"];
 // Here, the node shape is changed.
 b [shape=box];
 // These edges both have different line properties
 a -> b -> c [color=blue];
 b -> d [style=dotted];
 // [style=invis] hides a node.

 testing [some=<pretty <i>nasty<font style="red">HTML</font></i>>];
}

// comment at eof