Skip to content

Commit

Permalink
docs: updated templated, added layers
Browse files Browse the repository at this point in the history
  • Loading branch information
tsypuk committed Aug 14, 2023
1 parent 739f4c7 commit 611ba2e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions tests/3_layers_copy.drawio
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<mxfile host="multicloud-diagrams" agent="PIP package multicloud-diagrams. Generate resources in draw.io compatible format for Cloud infrastructure. Copyrights @ Roman Tsypuk 2023. MIT license." type="MultiCloud">
<diagram id="diagram_1" name="AWS components">
<mxGraphModel dx="1015" dy="661" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="1">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="2" parent="0" value="L2" />
<mxCell id="3" parent="0" value="L3" />
</root>
</mxGraphModel>
</diagram>
</mxfile>
2 changes: 1 addition & 1 deletion tests/test_layers.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def test_read_layers_from_file(self):
mcd = MultiCloudDiagrams()
# file contains 3 layers default, L2, L3
# file_name = '3_layers.drawio'
file_name = 'tests/3_layers.drawio'
file_name = 'tests/3_layers_copy.drawio'

# when
mcd.read_nodes_from_file(file_name)
Expand Down

0 comments on commit 611ba2e

Please sign in to comment.