blob: b462b5530f4838bfea2123422bb47bcf3eb2a98a (
plain)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
'graph' Keyword
' ' Text.Whitespace
'graphname' Name.Tag
' ' Text.Whitespace
'{' Punctuation
'\n\t' Text.Whitespace
'// This attribute applies to the graph itself' Comment.Single
'\n\t' Text.Whitespace
'size' Name.Attribute
'=' Punctuation
'"1,1"' Literal.String.Double
';' Punctuation
'\n\t' Text.Whitespace
'// The label attribute can be used to change the label of a node' Comment.Single
'\n\t' Text.Whitespace
'a' Name.Tag
' ' Text.Whitespace
'[' Punctuation
'label' Name.Attribute
'=' Punctuation
'"Foo"' Literal.String.Double
']' Punctuation
';' Punctuation
'\n\t' Text.Whitespace
'// Here, the node shape is changed.' Comment.Single
'\n\t' Text.Whitespace
'b' Name.Tag
' ' Text.Whitespace
'[' Punctuation
'shape' Name.Attribute
'=' Punctuation
'box' Literal.String
']' Punctuation
';' Punctuation
'\n\t' Text.Whitespace
'// These edges both have different line properties' Comment.Single
'\n\t' Text.Whitespace
'a' Name.Tag
' ' Text.Whitespace
'--' Operator
' ' Text.Whitespace
'b' Name.Tag
' ' Text.Whitespace
'--' Operator
' ' Text.Whitespace
'c' Name.Builtin
' ' Text.Whitespace
'[' Punctuation
'color' Name.Attribute
'=' Punctuation
'blue' Literal.String
']' Punctuation
';' Punctuation
'\n\t' Text.Whitespace
'b' Name.Tag
' ' Text.Whitespace
'--' Operator
' ' Text.Whitespace
'd' Name.Tag
' ' Text.Whitespace
'[' Punctuation
'style' Name.Attribute
'=' Punctuation
'dotted' Literal.String
']' Punctuation
';' Punctuation
'\n\t' Text.Whitespace
'// [style=invis] hides a node.' Comment.Single
'\n' Text.Whitespace
'}' Punctuation
'\n' Text.Whitespace
|