Skip to content

Commit 6e47bad

Browse files
committed
graphs: update schema in all graphml files
1 parent 73997e0 commit 6e47bad

File tree

7 files changed

+85
-37
lines changed

7 files changed

+85
-37
lines changed

resources/graphs/default.graphml

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,20 @@
11
<?xml version="1.0" encoding="UTF-8"?><graphml xmlns="http://graphml.graphdrawing.org/xmlns">
2-
<key attr.name="version" attr.type="string" for="node" id="version"/>
3-
<key attr.name="bitcoin_config" attr.type="string" for="node" id="bitcoin_config"/>
4-
<key attr.name="tc_netem" attr.type="string" for="node" id="tc_netem"/>
5-
<key attr.name="build_args" attr.type="string" for="node" id="build_args"/>
6-
<key attr.name="exporter" attr.type="boolean" for="node" id="exporter"/>
7-
<key attr.name="collect_logs" attr.type="boolean" for="node" id="collect_logs"/>
8-
<key attr.name="image" attr.type="string" for="node" id="image"/>
2+
<key id="services" attr.name="services" attr.type="string" for="graph" />
3+
<key id="version" attr.name="version" attr.type="string" for="node" />
4+
<key id="image" attr.name="image" attr.type="string" for="node" />
5+
<key id="bitcoin_config" attr.name="bitcoin_config" attr.type="string" for="node" />
6+
<key id="tc_netem" attr.name="tc_netem" attr.type="string" for="node" />
7+
<key id="exporter" attr.name="exporter" attr.type="boolean" for="node" />
8+
<key id="metrics" attr.name="metrics" attr.type="string" for="node" />
9+
<key id="collect_logs" attr.name="collect_logs" attr.type="boolean" for="node" />
10+
<key id="build_args" attr.name="build_args" attr.type="string" for="node" />
11+
<key id="ln" attr.name="ln" attr.type="string" for="node" />
12+
<key id="ln_image" attr.name="ln_image" attr.type="string" for="node" />
13+
<key id="ln_cb_image" attr.name="ln_cb_image" attr.type="string" for="node" />
14+
<key id="ln_config" attr.name="ln_config" attr.type="string" for="node" />
15+
<key id="channel_open" attr.name="channel_open" attr.type="string" for="edge" />
16+
<key id="source_policy" attr.name="source_policy" attr.type="string" for="edge" />
17+
<key id="target_policy" attr.name="target_policy" attr.type="string" for="edge" />
918
<graph edgedefault="directed">
1019
<node id="0">
1120
<data key="version">27.0</data>

test/data/12_node_ring.graphml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,20 @@
11
<?xml version="1.0" encoding="UTF-8"?><graphml xmlns="http://graphml.graphdrawing.org/xmlns">
2-
<key attr.name="version" attr.type="string" for="node" id="version"/>
3-
<key attr.name="bitcoin_config" attr.type="string" for="node" id="bitcoin_config"/>
4-
<key attr.name="tc_netem" attr.type="string" for="node" id="tc_netem"/>
5-
<key attr.name="image" attr.type="string" for="node" id="image"/>
2+
<key id="services" attr.name="services" attr.type="string" for="graph" />
3+
<key id="version" attr.name="version" attr.type="string" for="node" />
4+
<key id="image" attr.name="image" attr.type="string" for="node" />
5+
<key id="bitcoin_config" attr.name="bitcoin_config" attr.type="string" for="node" />
6+
<key id="tc_netem" attr.name="tc_netem" attr.type="string" for="node" />
7+
<key id="exporter" attr.name="exporter" attr.type="boolean" for="node" />
8+
<key id="metrics" attr.name="metrics" attr.type="string" for="node" />
9+
<key id="collect_logs" attr.name="collect_logs" attr.type="boolean" for="node" />
10+
<key id="build_args" attr.name="build_args" attr.type="string" for="node" />
11+
<key id="ln" attr.name="ln" attr.type="string" for="node" />
12+
<key id="ln_image" attr.name="ln_image" attr.type="string" for="node" />
13+
<key id="ln_cb_image" attr.name="ln_cb_image" attr.type="string" for="node" />
14+
<key id="ln_config" attr.name="ln_config" attr.type="string" for="node" />
15+
<key id="channel_open" attr.name="channel_open" attr.type="string" for="edge" />
16+
<key id="source_policy" attr.name="source_policy" attr.type="string" for="edge" />
17+
<key id="target_policy" attr.name="target_policy" attr.type="string" for="edge" />
618
<graph edgedefault="directed">
719
<node id="0">
820
<data key="version">27.0</data>

test/data/build_v24_test.graphml

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,20 @@
11
<?xml version="1.0" encoding="UTF-8"?><graphml xmlns="http://graphml.graphdrawing.org/xmlns">
2-
<key attr.name="version" attr.type="string" for="node" id="version"/>
3-
<key attr.name="bitcoin_config" attr.type="string" for="node" id="bitcoin_config"/>
4-
<key attr.name="tc_netem" attr.type="string" for="node" id="tc_netem"/>
5-
<key attr.name="build_args" attr.type="string" for="node" id="build_args"/>
6-
<key attr.name="image" attr.type="string" for="node" id="image"/>
2+
<key id="services" attr.name="services" attr.type="string" for="graph" />
3+
<key id="version" attr.name="version" attr.type="string" for="node" />
4+
<key id="image" attr.name="image" attr.type="string" for="node" />
5+
<key id="bitcoin_config" attr.name="bitcoin_config" attr.type="string" for="node" />
6+
<key id="tc_netem" attr.name="tc_netem" attr.type="string" for="node" />
7+
<key id="exporter" attr.name="exporter" attr.type="boolean" for="node" />
8+
<key id="metrics" attr.name="metrics" attr.type="string" for="node" />
9+
<key id="collect_logs" attr.name="collect_logs" attr.type="boolean" for="node" />
10+
<key id="build_args" attr.name="build_args" attr.type="string" for="node" />
11+
<key id="ln" attr.name="ln" attr.type="string" for="node" />
12+
<key id="ln_image" attr.name="ln_image" attr.type="string" for="node" />
13+
<key id="ln_cb_image" attr.name="ln_cb_image" attr.type="string" for="node" />
14+
<key id="ln_config" attr.name="ln_config" attr.type="string" for="node" />
15+
<key id="channel_open" attr.name="channel_open" attr.type="string" for="edge" />
16+
<key id="source_policy" attr.name="source_policy" attr.type="string" for="edge" />
17+
<key id="target_policy" attr.name="target_policy" attr.type="string" for="edge" />
718
<graph edgedefault="directed">
819
<node id="0">
920
<data key="version">27.0</data>

test/data/ln.graphml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
<?xml version="1.0" encoding="UTF-8"?><graphml xmlns="http://graphml.graphdrawing.org/xmlns">
2-
<key id="version" attr.name="version" attr.type="string" for="node" />
32
<key id="services" attr.name="services" attr.type="string" for="graph" />
3+
<key id="version" attr.name="version" attr.type="string" for="node" />
44
<key id="image" attr.name="image" attr.type="string" for="node" />
55
<key id="bitcoin_config" attr.name="bitcoin_config" attr.type="string" for="node" />
66
<key id="tc_netem" attr.name="tc_netem" attr.type="string" for="node" />
77
<key id="exporter" attr.name="exporter" attr.type="boolean" for="node" />
8+
<key id="metrics" attr.name="metrics" attr.type="string" for="node" />
89
<key id="collect_logs" attr.name="collect_logs" attr.type="boolean" for="node" />
910
<key id="build_args" attr.name="build_args" attr.type="string" for="node" />
1011
<key id="ln" attr.name="ln" attr.type="string" for="node" />

test/data/permutations.graphml

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,20 @@
1-
<?xml version='1.0' encoding='utf-8'?>
2-
<graphml xmlns="http://graphml.graphdrawing.org/xmlns" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns http://graphml.graphdrawing.org/xmlns/1.0/graphml.xsd">
4-
<key id="image" for="node" attr.name="image" attr.type="string" />
5-
<key id="collect_logs" for="node" attr.name="collect_logs" attr.type="boolean" />
6-
<key id="exporter" for="node" attr.name="exporter" attr.type="boolean" />
7-
<key id="build_args" for="node" attr.name="build_args" attr.type="string" />
8-
<key id="tc_netem" for="node" attr.name="tc_netem" attr.type="string" />
9-
<key id="bitcoin_config" for="node" attr.name="bitcoin_config" attr.type="string" />
10-
<key id="version" for="node" attr.name="version" attr.type="string" />
1+
<?xml version="1.0" encoding="UTF-8"?><graphml xmlns="http://graphml.graphdrawing.org/xmlns">
2+
<key id="services" attr.name="services" attr.type="string" for="graph" />
3+
<key id="version" attr.name="version" attr.type="string" for="node" />
4+
<key id="image" attr.name="image" attr.type="string" for="node" />
5+
<key id="bitcoin_config" attr.name="bitcoin_config" attr.type="string" for="node" />
6+
<key id="tc_netem" attr.name="tc_netem" attr.type="string" for="node" />
7+
<key id="exporter" attr.name="exporter" attr.type="boolean" for="node" />
8+
<key id="metrics" attr.name="metrics" attr.type="string" for="node" />
9+
<key id="collect_logs" attr.name="collect_logs" attr.type="boolean" for="node" />
10+
<key id="build_args" attr.name="build_args" attr.type="string" for="node" />
11+
<key id="ln" attr.name="ln" attr.type="string" for="node" />
12+
<key id="ln_image" attr.name="ln_image" attr.type="string" for="node" />
13+
<key id="ln_cb_image" attr.name="ln_cb_image" attr.type="string" for="node" />
14+
<key id="ln_config" attr.name="ln_config" attr.type="string" for="node" />
15+
<key id="channel_open" attr.name="channel_open" attr.type="string" for="edge" />
16+
<key id="source_policy" attr.name="source_policy" attr.type="string" for="edge" />
17+
<key id="target_policy" attr.name="target_policy" attr.type="string" for="edge" />
1118
<graph edgedefault="directed">
1219
<node id="0">
1320
<data key="version">27.0</data>

test/data/services.graphml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<key id="bitcoin_config" attr.name="bitcoin_config" attr.type="string" for="node" />
66
<key id="tc_netem" attr.name="tc_netem" attr.type="string" for="node" />
77
<key id="exporter" attr.name="exporter" attr.type="boolean" for="node" />
8+
<key id="metrics" attr.name="metrics" attr.type="string" for="node" />
89
<key id="collect_logs" attr.name="collect_logs" attr.type="boolean" for="node" />
910
<key id="build_args" attr.name="build_args" attr.type="string" for="node" />
1011
<key id="ln" attr.name="ln" attr.type="string" for="node" />

test/data/ten_semi_unconnected.graphml

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,20 @@
1-
<?xml version='1.0' encoding='utf-8'?>
2-
<graphml xmlns="http://graphml.graphdrawing.org/xmlns" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns http://graphml.graphdrawing.org/xmlns/1.0/graphml.xsd">
4-
<key id="image" for="node" attr.name="image" attr.type="string" />
5-
<key id="collect_logs" for="node" attr.name="collect_logs" attr.type="boolean" />
6-
<key id="exporter" for="node" attr.name="exporter" attr.type="boolean" />
7-
<key id="build_args" for="node" attr.name="build_args" attr.type="string" />
8-
<key id="tc_netem" for="node" attr.name="tc_netem" attr.type="string" />
9-
<key id="bitcoin_config" for="node" attr.name="bitcoin_config" attr.type="string" />
10-
<key id="version" for="node" attr.name="version" attr.type="string" />
1+
<?xml version="1.0" encoding="UTF-8"?><graphml xmlns="http://graphml.graphdrawing.org/xmlns">
2+
<key id="services" attr.name="services" attr.type="string" for="graph" />
3+
<key id="version" attr.name="version" attr.type="string" for="node" />
4+
<key id="image" attr.name="image" attr.type="string" for="node" />
5+
<key id="bitcoin_config" attr.name="bitcoin_config" attr.type="string" for="node" />
6+
<key id="tc_netem" attr.name="tc_netem" attr.type="string" for="node" />
7+
<key id="exporter" attr.name="exporter" attr.type="boolean" for="node" />
8+
<key id="metrics" attr.name="metrics" attr.type="string" for="node" />
9+
<key id="collect_logs" attr.name="collect_logs" attr.type="boolean" for="node" />
10+
<key id="build_args" attr.name="build_args" attr.type="string" for="node" />
11+
<key id="ln" attr.name="ln" attr.type="string" for="node" />
12+
<key id="ln_image" attr.name="ln_image" attr.type="string" for="node" />
13+
<key id="ln_cb_image" attr.name="ln_cb_image" attr.type="string" for="node" />
14+
<key id="ln_config" attr.name="ln_config" attr.type="string" for="node" />
15+
<key id="channel_open" attr.name="channel_open" attr.type="string" for="edge" />
16+
<key id="source_policy" attr.name="source_policy" attr.type="string" for="edge" />
17+
<key id="target_policy" attr.name="target_policy" attr.type="string" for="edge" />
1118
<graph edgedefault="directed">
1219
<node id="0">
1320
<data key="version">26.0</data>

0 commit comments

Comments
 (0)