-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.xml
46 lines (46 loc) · 1.5 KB
/
example.xml
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
<?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="type" for="node" attr.name="nodetype" attr.type="string" />
<key id="subPort" for="node" attr.name="subPort" attr.type="boolean">
<default>false</default>
</key>
<graph id="ir1" edgedefault="directed">
<node id="n0">
<data key="type">function</data>
<graph id="n0:" edgedefault="directed">
<node id="n0::p0">
<data key="type">integer</data>
<data key="subPort">true</data>
</node>
<node id="n0::p1">
<data key="type">integer</data>
<data key="subPort">true</data>
</node>
<node id="n0::p2">
<data key="type">integer</data>
<data key="subPort">true</data>
</node>
<node id="n0::n0">
<data key="type">+</data>
<port name="left" />
<port name="right" />
<port name="out" />
</node>
<node id="n0::n1">
<data key="type">*</data>
<port name="left" />
<port name="right" />
<port name="out" />
</node>
<edge source="n0::p0" target="n0::n0" targetport="left"/>
<edge source="n0::p0" target="n0::n1" targetport="right"/>
<edge source="n0::p1" target="n0::n1" targetport="left"/>
<edge source="n0::n1" target="n0::n0" sourceport="out" targetport="right"/>
<edge source="n0::n0" target="p2" sourceport="out"/>
</graph>
</node>
</graph>
</graphml>