File: so-sample001.gv

package info (click to toggle)
ruby-graphviz 1.0.8-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,124 kB
  • ctags: 695
  • sloc: ruby: 7,656; xml: 26; makefile: 17
file content (30 lines) | stat: -rw-r--r-- 492 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
digraph G {
    layout="neato"
    // scale things down for example
    size="5,5" 
    rankdir=TD
    ranksep=1
    nodesep=1

    node [shape=box]

    top[pos="5,10!", width=5, height=2]

    left1[pos="3.5,7!", width=2, height=2]
    left2[pos="3.5,4!", width=2, height=2]
    
    right[pos="6.5,5.5!", width=2, height=5]

    bottom[pos="5,1!", width=5, height=2]


    top->left1
    top->right

    left1->left2
    left1->right
    left2->right

    left2->bottom
    right->bottom
}