Skip to content

Commit

Permalink
graphs: update schema in all graphml files
Browse files Browse the repository at this point in the history
  • Loading branch information
pinheadmz committed Aug 6, 2024
1 parent 73997e0 commit 6e47bad
Show file tree
Hide file tree
Showing 7 changed files with 85 additions and 37 deletions.
23 changes: 16 additions & 7 deletions resources/graphs/default.graphml
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?><graphml xmlns="http://graphml.graphdrawing.org/xmlns">
<key attr.name="version" attr.type="string" for="node" id="version"/>
<key attr.name="bitcoin_config" attr.type="string" for="node" id="bitcoin_config"/>
<key attr.name="tc_netem" attr.type="string" for="node" id="tc_netem"/>
<key attr.name="build_args" attr.type="string" for="node" id="build_args"/>
<key attr.name="exporter" attr.type="boolean" for="node" id="exporter"/>
<key attr.name="collect_logs" attr.type="boolean" for="node" id="collect_logs"/>
<key attr.name="image" attr.type="string" for="node" id="image"/>
<key id="services" attr.name="services" attr.type="string" for="graph" />
<key id="version" attr.name="version" attr.type="string" for="node" />
<key id="image" attr.name="image" attr.type="string" for="node" />
<key id="bitcoin_config" attr.name="bitcoin_config" attr.type="string" for="node" />
<key id="tc_netem" attr.name="tc_netem" attr.type="string" for="node" />
<key id="exporter" attr.name="exporter" attr.type="boolean" for="node" />
<key id="metrics" attr.name="metrics" attr.type="string" for="node" />
<key id="collect_logs" attr.name="collect_logs" attr.type="boolean" for="node" />
<key id="build_args" attr.name="build_args" attr.type="string" for="node" />
<key id="ln" attr.name="ln" attr.type="string" for="node" />
<key id="ln_image" attr.name="ln_image" attr.type="string" for="node" />
<key id="ln_cb_image" attr.name="ln_cb_image" attr.type="string" for="node" />
<key id="ln_config" attr.name="ln_config" attr.type="string" for="node" />
<key id="channel_open" attr.name="channel_open" attr.type="string" for="edge" />
<key id="source_policy" attr.name="source_policy" attr.type="string" for="edge" />
<key id="target_policy" attr.name="target_policy" attr.type="string" for="edge" />
<graph edgedefault="directed">
<node id="0">
<data key="version">27.0</data>
Expand Down
20 changes: 16 additions & 4 deletions test/data/12_node_ring.graphml
Original file line number Diff line number Diff line change
@@ -1,8 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?><graphml xmlns="http://graphml.graphdrawing.org/xmlns">
<key attr.name="version" attr.type="string" for="node" id="version"/>
<key attr.name="bitcoin_config" attr.type="string" for="node" id="bitcoin_config"/>
<key attr.name="tc_netem" attr.type="string" for="node" id="tc_netem"/>
<key attr.name="image" attr.type="string" for="node" id="image"/>
<key id="services" attr.name="services" attr.type="string" for="graph" />
<key id="version" attr.name="version" attr.type="string" for="node" />
<key id="image" attr.name="image" attr.type="string" for="node" />
<key id="bitcoin_config" attr.name="bitcoin_config" attr.type="string" for="node" />
<key id="tc_netem" attr.name="tc_netem" attr.type="string" for="node" />
<key id="exporter" attr.name="exporter" attr.type="boolean" for="node" />
<key id="metrics" attr.name="metrics" attr.type="string" for="node" />
<key id="collect_logs" attr.name="collect_logs" attr.type="boolean" for="node" />
<key id="build_args" attr.name="build_args" attr.type="string" for="node" />
<key id="ln" attr.name="ln" attr.type="string" for="node" />
<key id="ln_image" attr.name="ln_image" attr.type="string" for="node" />
<key id="ln_cb_image" attr.name="ln_cb_image" attr.type="string" for="node" />
<key id="ln_config" attr.name="ln_config" attr.type="string" for="node" />
<key id="channel_open" attr.name="channel_open" attr.type="string" for="edge" />
<key id="source_policy" attr.name="source_policy" attr.type="string" for="edge" />
<key id="target_policy" attr.name="target_policy" attr.type="string" for="edge" />
<graph edgedefault="directed">
<node id="0">
<data key="version">27.0</data>
Expand Down
21 changes: 16 additions & 5 deletions test/data/build_v24_test.graphml
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?><graphml xmlns="http://graphml.graphdrawing.org/xmlns">
<key attr.name="version" attr.type="string" for="node" id="version"/>
<key attr.name="bitcoin_config" attr.type="string" for="node" id="bitcoin_config"/>
<key attr.name="tc_netem" attr.type="string" for="node" id="tc_netem"/>
<key attr.name="build_args" attr.type="string" for="node" id="build_args"/>
<key attr.name="image" attr.type="string" for="node" id="image"/>
<key id="services" attr.name="services" attr.type="string" for="graph" />
<key id="version" attr.name="version" attr.type="string" for="node" />
<key id="image" attr.name="image" attr.type="string" for="node" />
<key id="bitcoin_config" attr.name="bitcoin_config" attr.type="string" for="node" />
<key id="tc_netem" attr.name="tc_netem" attr.type="string" for="node" />
<key id="exporter" attr.name="exporter" attr.type="boolean" for="node" />
<key id="metrics" attr.name="metrics" attr.type="string" for="node" />
<key id="collect_logs" attr.name="collect_logs" attr.type="boolean" for="node" />
<key id="build_args" attr.name="build_args" attr.type="string" for="node" />
<key id="ln" attr.name="ln" attr.type="string" for="node" />
<key id="ln_image" attr.name="ln_image" attr.type="string" for="node" />
<key id="ln_cb_image" attr.name="ln_cb_image" attr.type="string" for="node" />
<key id="ln_config" attr.name="ln_config" attr.type="string" for="node" />
<key id="channel_open" attr.name="channel_open" attr.type="string" for="edge" />
<key id="source_policy" attr.name="source_policy" attr.type="string" for="edge" />
<key id="target_policy" attr.name="target_policy" attr.type="string" for="edge" />
<graph edgedefault="directed">
<node id="0">
<data key="version">27.0</data>
Expand Down
3 changes: 2 additions & 1 deletion test/data/ln.graphml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?><graphml xmlns="http://graphml.graphdrawing.org/xmlns">
<key id="version" attr.name="version" attr.type="string" for="node" />
<key id="services" attr.name="services" attr.type="string" for="graph" />
<key id="version" attr.name="version" attr.type="string" for="node" />
<key id="image" attr.name="image" attr.type="string" for="node" />
<key id="bitcoin_config" attr.name="bitcoin_config" attr.type="string" for="node" />
<key id="tc_netem" attr.name="tc_netem" attr.type="string" for="node" />
<key id="exporter" attr.name="exporter" attr.type="boolean" for="node" />
<key id="metrics" attr.name="metrics" attr.type="string" for="node" />
<key id="collect_logs" attr.name="collect_logs" attr.type="boolean" for="node" />
<key id="build_args" attr.name="build_args" attr.type="string" for="node" />
<key id="ln" attr.name="ln" attr.type="string" for="node" />
Expand Down
27 changes: 17 additions & 10 deletions test/data/permutations.graphml
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
<?xml version='1.0' encoding='utf-8'?>
<graphml xmlns="http://graphml.graphdrawing.org/xmlns" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns http://graphml.graphdrawing.org/xmlns/1.0/graphml.xsd">
<key id="image" for="node" attr.name="image" attr.type="string" />
<key id="collect_logs" for="node" attr.name="collect_logs" attr.type="boolean" />
<key id="exporter" for="node" attr.name="exporter" attr.type="boolean" />
<key id="build_args" for="node" attr.name="build_args" attr.type="string" />
<key id="tc_netem" for="node" attr.name="tc_netem" attr.type="string" />
<key id="bitcoin_config" for="node" attr.name="bitcoin_config" attr.type="string" />
<key id="version" for="node" attr.name="version" attr.type="string" />
<?xml version="1.0" encoding="UTF-8"?><graphml xmlns="http://graphml.graphdrawing.org/xmlns">
<key id="services" attr.name="services" attr.type="string" for="graph" />
<key id="version" attr.name="version" attr.type="string" for="node" />
<key id="image" attr.name="image" attr.type="string" for="node" />
<key id="bitcoin_config" attr.name="bitcoin_config" attr.type="string" for="node" />
<key id="tc_netem" attr.name="tc_netem" attr.type="string" for="node" />
<key id="exporter" attr.name="exporter" attr.type="boolean" for="node" />
<key id="metrics" attr.name="metrics" attr.type="string" for="node" />
<key id="collect_logs" attr.name="collect_logs" attr.type="boolean" for="node" />
<key id="build_args" attr.name="build_args" attr.type="string" for="node" />
<key id="ln" attr.name="ln" attr.type="string" for="node" />
<key id="ln_image" attr.name="ln_image" attr.type="string" for="node" />
<key id="ln_cb_image" attr.name="ln_cb_image" attr.type="string" for="node" />
<key id="ln_config" attr.name="ln_config" attr.type="string" for="node" />
<key id="channel_open" attr.name="channel_open" attr.type="string" for="edge" />
<key id="source_policy" attr.name="source_policy" attr.type="string" for="edge" />
<key id="target_policy" attr.name="target_policy" attr.type="string" for="edge" />
<graph edgedefault="directed">
<node id="0">
<data key="version">27.0</data>
Expand Down
1 change: 1 addition & 0 deletions test/data/services.graphml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<key id="bitcoin_config" attr.name="bitcoin_config" attr.type="string" for="node" />
<key id="tc_netem" attr.name="tc_netem" attr.type="string" for="node" />
<key id="exporter" attr.name="exporter" attr.type="boolean" for="node" />
<key id="metrics" attr.name="metrics" attr.type="string" for="node" />
<key id="collect_logs" attr.name="collect_logs" attr.type="boolean" for="node" />
<key id="build_args" attr.name="build_args" attr.type="string" for="node" />
<key id="ln" attr.name="ln" attr.type="string" for="node" />
Expand Down
27 changes: 17 additions & 10 deletions test/data/ten_semi_unconnected.graphml
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
<?xml version='1.0' encoding='utf-8'?>
<graphml xmlns="http://graphml.graphdrawing.org/xmlns" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns http://graphml.graphdrawing.org/xmlns/1.0/graphml.xsd">
<key id="image" for="node" attr.name="image" attr.type="string" />
<key id="collect_logs" for="node" attr.name="collect_logs" attr.type="boolean" />
<key id="exporter" for="node" attr.name="exporter" attr.type="boolean" />
<key id="build_args" for="node" attr.name="build_args" attr.type="string" />
<key id="tc_netem" for="node" attr.name="tc_netem" attr.type="string" />
<key id="bitcoin_config" for="node" attr.name="bitcoin_config" attr.type="string" />
<key id="version" for="node" attr.name="version" attr.type="string" />
<?xml version="1.0" encoding="UTF-8"?><graphml xmlns="http://graphml.graphdrawing.org/xmlns">
<key id="services" attr.name="services" attr.type="string" for="graph" />
<key id="version" attr.name="version" attr.type="string" for="node" />
<key id="image" attr.name="image" attr.type="string" for="node" />
<key id="bitcoin_config" attr.name="bitcoin_config" attr.type="string" for="node" />
<key id="tc_netem" attr.name="tc_netem" attr.type="string" for="node" />
<key id="exporter" attr.name="exporter" attr.type="boolean" for="node" />
<key id="metrics" attr.name="metrics" attr.type="string" for="node" />
<key id="collect_logs" attr.name="collect_logs" attr.type="boolean" for="node" />
<key id="build_args" attr.name="build_args" attr.type="string" for="node" />
<key id="ln" attr.name="ln" attr.type="string" for="node" />
<key id="ln_image" attr.name="ln_image" attr.type="string" for="node" />
<key id="ln_cb_image" attr.name="ln_cb_image" attr.type="string" for="node" />
<key id="ln_config" attr.name="ln_config" attr.type="string" for="node" />
<key id="channel_open" attr.name="channel_open" attr.type="string" for="edge" />
<key id="source_policy" attr.name="source_policy" attr.type="string" for="edge" />
<key id="target_policy" attr.name="target_policy" attr.type="string" for="edge" />
<graph edgedefault="directed">
<node id="0">
<data key="version">26.0</data>
Expand Down

0 comments on commit 6e47bad

Please sign in to comment.