Skip to content

Commit 13718c4

Browse files
Update README.md
1 parent 910226c commit 13718c4

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,21 @@ If you like or are using this project please give it a star. Thanks!
4545
### Deleting transitions
4646
[![](https://github.com/SimpleStateMachine/SimpleStateMachineNodeEditor/blob/gh-pages/img/deleting%20transitions.gif)](https://github.com/SimpleStateMachine/SimpleStateMachineNodeEditor)
4747
### Import/Export scheme from/to xml
48-
[![](https://github.com/SimpleStateMachine/SimpleStateMachineNodeEditor/blob/gh-pages/img/xml.jpg)](https://github.com/SimpleStateMachine/SimpleStateMachineNodeEditor)
48+
```xml
49+
<?xml version="1.0" encoding="utf-8"?>
50+
<StateMachine>
51+
<States>
52+
<State Name="Start" Position="37, 80" IsCollapse="False" />
53+
<State Name="State 1" Position="471, 195.54" IsCollapse="False" />
54+
<State Name="State 2" Position="276, 83.03999999999999" IsCollapse="False" />
55+
</States>
56+
<StartState Name="Start" />
57+
<Transitions>
58+
<Transition Name="Transition 2" From="State 2" To="State 1" />
59+
<Transition Name="Transition 1" From="Start" To="State 2" />
60+
</Transitions>
61+
</StateMachine>
62+
```
4963
### Save work space as PNG/JPEG
5064
[![](https://github.com/SimpleStateMachine/SimpleStateMachineNodeEditor/blob/gh-pages/img/jpg.jpg)](https://github.com/SimpleStateMachine/SimpleStateMachineNodeEditor)
5165

0 commit comments

Comments
 (0)