diff options
Diffstat (limited to 'Metrics/ca.mcgill.ecse.dslreasoner.realistic.metrics/samples')
-rw-r--r-- | Metrics/ca.mcgill.ecse.dslreasoner.realistic.metrics/samples/simple1.gml | 121 | ||||
-rw-r--r-- | Metrics/ca.mcgill.ecse.dslreasoner.realistic.metrics/samples/simple1.graphml | 69 |
2 files changed, 190 insertions, 0 deletions
diff --git a/Metrics/ca.mcgill.ecse.dslreasoner.realistic.metrics/samples/simple1.gml b/Metrics/ca.mcgill.ecse.dslreasoner.realistic.metrics/samples/simple1.gml new file mode 100644 index 00000000..1014385b --- /dev/null +++ b/Metrics/ca.mcgill.ecse.dslreasoner.realistic.metrics/samples/simple1.gml | |||
@@ -0,0 +1,121 @@ | |||
1 | Creator "yFiles" | ||
2 | Version "2.16" | ||
3 | graph | ||
4 | [ | ||
5 | hierarchic 1 | ||
6 | label "" | ||
7 | directed 1 | ||
8 | node | ||
9 | [ | ||
10 | id 0 | ||
11 | label "Statechart" | ||
12 | graphics | ||
13 | [ | ||
14 | x 313.5 | ||
15 | y 225.0 | ||
16 | w 81.0 | ||
17 | h 32.0 | ||
18 | type "roundrectangle" | ||
19 | raisedBorder 0 | ||
20 | fill "#FFCC00" | ||
21 | outline "#000000" | ||
22 | ] | ||
23 | LabelGraphics | ||
24 | [ | ||
25 | text "Statechart" | ||
26 | fontSize 12 | ||
27 | fontName "Dialog" | ||
28 | anchor "c" | ||
29 | ] | ||
30 | ] | ||
31 | node | ||
32 | [ | ||
33 | id 1 | ||
34 | label "Region0" | ||
35 | graphics | ||
36 | [ | ||
37 | x -31.5 | ||
38 | y 207.5 | ||
39 | w 55.5 | ||
40 | h 32.0 | ||
41 | type "roundrectangle" | ||
42 | raisedBorder 0 | ||
43 | fill "#FFCC00" | ||
44 | outline "#000000" | ||
45 | ] | ||
46 | LabelGraphics | ||
47 | [ | ||
48 | text "Region0" | ||
49 | fontSize 12 | ||
50 | fontName "Dialog" | ||
51 | anchor "c" | ||
52 | ] | ||
53 | ] | ||
54 | node | ||
55 | [ | ||
56 | id 2 | ||
57 | label "Region0" | ||
58 | graphics | ||
59 | [ | ||
60 | x 313.5 | ||
61 | y 440.0 | ||
62 | w 55.5 | ||
63 | h 32.0 | ||
64 | type "roundrectangle" | ||
65 | raisedBorder 0 | ||
66 | fill "#FFCC00" | ||
67 | outline "#000000" | ||
68 | ] | ||
69 | LabelGraphics | ||
70 | [ | ||
71 | text "Region0" | ||
72 | fontSize 12 | ||
73 | fontName "Dialog" | ||
74 | anchor "c" | ||
75 | ] | ||
76 | ] | ||
77 | edge | ||
78 | [ | ||
79 | source 1 | ||
80 | target 0 | ||
81 | label "RefName" | ||
82 | graphics | ||
83 | [ | ||
84 | fill "#000000" | ||
85 | targetArrow "standard" | ||
86 | ] | ||
87 | LabelGraphics | ||
88 | [ | ||
89 | text "RefName" | ||
90 | fontSize 12 | ||
91 | fontName "Dialog" | ||
92 | configuration "AutoFlippingLabel" | ||
93 | contentWidth 54.68359375 | ||
94 | contentHeight 18.701171875 | ||
95 | model "six_pos" | ||
96 | position "head" | ||
97 | ] | ||
98 | LabelGraphics | ||
99 | [ | ||
100 | text "[2,3]" | ||
101 | fontSize 12 | ||
102 | fontName "Dialog" | ||
103 | configuration "AutoFlippingLabel" | ||
104 | contentWidth 27.349609375 | ||
105 | contentHeight 18.701171875 | ||
106 | model "six_pos" | ||
107 | position "ttail" | ||
108 | ] | ||
109 | LabelGraphics | ||
110 | [ | ||
111 | text "[0,1]" | ||
112 | fontSize 12 | ||
113 | fontName "Dialog" | ||
114 | configuration "AutoFlippingLabel" | ||
115 | contentWidth 27.349609375 | ||
116 | contentHeight 18.701171875 | ||
117 | model "six_pos" | ||
118 | position "stail" | ||
119 | ] | ||
120 | ] | ||
121 | ] | ||
diff --git a/Metrics/ca.mcgill.ecse.dslreasoner.realistic.metrics/samples/simple1.graphml b/Metrics/ca.mcgill.ecse.dslreasoner.realistic.metrics/samples/simple1.graphml new file mode 100644 index 00000000..c596324b --- /dev/null +++ b/Metrics/ca.mcgill.ecse.dslreasoner.realistic.metrics/samples/simple1.graphml | |||
@@ -0,0 +1,69 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
2 | <graphml xmlns="http://graphml.graphdrawing.org/xmlns" xmlns:java="http://www.yworks.com/xml/yfiles-common/1.0/java" xmlns:sys="http://www.yworks.com/xml/yfiles-common/markup/primitives/2.0" xmlns:x="http://www.yworks.com/xml/yfiles-common/markup/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:y="http://www.yworks.com/xml/graphml" xmlns:yed="http://www.yworks.com/xml/yed/3" xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns http://www.yworks.com/xml/schema/graphml/1.1/ygraphml.xsd"> | ||
3 | <!--Created by yEd 3.19--> | ||
4 | <key for="port" id="d0" yfiles.type="portgraphics"/> | ||
5 | <key for="port" id="d1" yfiles.type="portgeometry"/> | ||
6 | <key for="port" id="d2" yfiles.type="portuserdata"/> | ||
7 | <key attr.name="url" attr.type="string" for="node" id="d3"/> | ||
8 | <key attr.name="description" attr.type="string" for="node" id="d4"/> | ||
9 | <key for="node" id="d5" yfiles.type="nodegraphics"/> | ||
10 | <key for="graphml" id="d6" yfiles.type="resources"/> | ||
11 | <key attr.name="url" attr.type="string" for="edge" id="d7"/> | ||
12 | <key attr.name="description" attr.type="string" for="edge" id="d8"/> | ||
13 | <key for="edge" id="d9" yfiles.type="edgegraphics"/> | ||
14 | <graph edgedefault="directed" id="G"> | ||
15 | <node id="n0"> | ||
16 | <data key="d4"/> | ||
17 | <data key="d5"> | ||
18 | <y:ShapeNode> | ||
19 | <y:Geometry height="32.0" width="81.0" x="273.0" y="209.0"/> | ||
20 | <y:Fill color="#FFCC00" transparent="false"/> | ||
21 | <y:BorderStyle color="#000000" raised="false" type="line" width="1.0"/> | ||
22 | <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="18.701171875" horizontalTextPosition="center" iconTextGap="4" modelName="internal" modelPosition="c" textColor="#000000" verticalTextPosition="bottom" visible="true" width="58.697265625" x="11.1513671875" xml:space="preserve" y="6.6494140625">Statechart</y:NodeLabel> | ||
23 | <y:Shape type="roundrectangle"/> | ||
24 | </y:ShapeNode> | ||
25 | </data> | ||
26 | </node> | ||
27 | <node id="n1"> | ||
28 | <data key="d4"/> | ||
29 | <data key="d5"> | ||
30 | <y:ShapeNode> | ||
31 | <y:Geometry height="32.0" width="55.5" x="57.75" y="209.0"/> | ||
32 | <y:Fill color="#FFCC00" transparent="false"/> | ||
33 | <y:BorderStyle color="#000000" raised="false" type="line" width="1.0"/> | ||
34 | <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="18.701171875" horizontalTextPosition="center" iconTextGap="4" modelName="internal" modelPosition="c" textColor="#000000" verticalTextPosition="bottom" visible="true" width="48.701171875" x="3.3994140625" xml:space="preserve" y="6.6494140625">Region0</y:NodeLabel> | ||
35 | <y:Shape type="roundrectangle"/> | ||
36 | </y:ShapeNode> | ||
37 | </data> | ||
38 | </node> | ||
39 | <node id="n2"> | ||
40 | <data key="d4"/> | ||
41 | <data key="d5"> | ||
42 | <y:ShapeNode> | ||
43 | <y:Geometry height="32.0" width="55.5" x="285.75" y="424.0"/> | ||
44 | <y:Fill color="#FFCC00" transparent="false"/> | ||
45 | <y:BorderStyle color="#000000" raised="false" type="line" width="1.0"/> | ||
46 | <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="18.701171875" horizontalTextPosition="center" iconTextGap="4" modelName="internal" modelPosition="c" textColor="#000000" verticalTextPosition="bottom" visible="true" width="48.701171875" x="3.3994140625" xml:space="preserve" y="6.6494140625">Region0</y:NodeLabel> | ||
47 | <y:Shape type="roundrectangle"/> | ||
48 | </y:ShapeNode> | ||
49 | </data> | ||
50 | </node> | ||
51 | <edge id="e0" source="n1" target="n0"> | ||
52 | <data key="d8"/> | ||
53 | <data key="d9"> | ||
54 | <y:PolyLineEdge> | ||
55 | <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/> | ||
56 | <y:LineStyle color="#000000" type="line" width="1.0"/> | ||
57 | <y:Arrows source="none" target="standard"/> | ||
58 | <y:EdgeLabel alignment="center" configuration="AutoFlippingLabel" distance="2.0" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="18.701171875" horizontalTextPosition="center" iconTextGap="4" modelName="six_pos" modelPosition="head" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" verticalTextPosition="bottom" visible="true" width="54.68359375" x="52.53466796875" xml:space="preserve" y="-20.701171875">RefName<y:PreferredPlacementDescriptor angle="0.0" angleOffsetOnRightSide="0" angleReference="absolute" angleRotationOnRightSide="co" distance="-1.0" frozen="true" placement="anywhere" side="anywhere" sideReference="relative_to_edge_flow"/></y:EdgeLabel> | ||
59 | <y:EdgeLabel alignment="center" configuration="AutoFlippingLabel" distance="2.0" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="18.701171875" horizontalTextPosition="center" iconTextGap="4" modelName="six_pos" modelPosition="stail" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" verticalTextPosition="bottom" visible="true" width="27.349609375" x="10.12646484375" xml:space="preserve" y="2.0">[2,3]<y:PreferredPlacementDescriptor angle="0.0" angleOffsetOnRightSide="0" angleReference="absolute" angleRotationOnRightSide="co" distance="-1.0" frozen="true" placement="anywhere" side="anywhere" sideReference="relative_to_edge_flow"/></y:EdgeLabel> | ||
60 | <y:EdgeLabel alignment="center" configuration="AutoFlippingLabel" distance="2.0" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="18.701171875" horizontalTextPosition="center" iconTextGap="4" modelName="six_pos" modelPosition="ttail" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" verticalTextPosition="bottom" visible="true" width="27.349609375" x="122.27685546875" xml:space="preserve" y="2.0">[0,1]<y:PreferredPlacementDescriptor angle="0.0" angleOffsetOnRightSide="0" angleReference="absolute" angleRotationOnRightSide="co" distance="-1.0" frozen="true" placement="anywhere" side="anywhere" sideReference="relative_to_edge_flow"/></y:EdgeLabel> | ||
61 | <y:BendStyle smoothed="false"/> | ||
62 | </y:PolyLineEdge> | ||
63 | </data> | ||
64 | </edge> | ||
65 | </graph> | ||
66 | <data key="d6"> | ||
67 | <y:Resources/> | ||
68 | </data> | ||
69 | </graphml> | ||