-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.dot
More file actions
27 lines (27 loc) · 963 Bytes
/
example.dot
File metadata and controls
27 lines (27 loc) · 963 Bytes
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
// does this work?
// and this
graph { // this is valid toooo
// this is a comment! that has exactly 100 runes, which is the max column of dotfmt like it or
// not!a
// this uses a single-line marker but is too long for a single line fits nice well done this one is
// a
// https://github.com/teleivo/dot/blob/fake/27b6dbfe4b99f67df74bfb7323e19d6c547f68fd/parser_test.go#L13
// nice one this is a comment! that has exactly 100 runes, which is the max column of dotfmt like
// it or not!
A [
style="filled"
color="blue" // stay with blue
] // should be ok
// why is it that the comment next to an Attribute fixes what I want to implement? style="filled"
// why does this one stay here? style="filled" color="blue"
B [style="filled" // this should stay with style="filled"
]
C [color="red"] // ok no?
// this should stay above A -- B
A -- B // this should stay with A -- B
C -- subgraph { ok
D
// D is cool
E
} // comment the subgraph
}