-
Notifications
You must be signed in to change notification settings - Fork 1
/
sample.gml
48 lines (48 loc) · 1.06 KB
/
sample.gml
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
graph [
comment "This is a sample graph"
directed 0
id 42
label "Hello, I am a graph"
node [
id 1
label "Node 1"
thisIsASampleAttribute 42
]
node [
id 2
label "node 2"
thisIsASampleAttribute 43
]
node [
id 3
label "node 3"
thisIsASampleAttribute 44
]
node [
id 4
label "node 4"
]
edge [
source 1
target 2
label "Edge from node 1 to node 2"
weight 3
]
edge [
source 2
target 3
label "Edge from node 2 to node 3"
weight 4
]
edge [
source 3
target 1
label "Edge from node 3 to node 1"
weight 5
]
edge [
source 3
target 4
weight 100
]
]