Skip to content

Commit 79888e5

Browse files
committed
Added more graph figures.
1 parent ad88394 commit 79888e5

49 files changed

Lines changed: 3716 additions & 114 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,7 @@ Cpp.React uses several external dependencies, but only one of them is mandatory:
4646

4747
* [Intel TBB 4.2](https://www.threadingbuildingblocks.org/) (required)
4848
* [Google test framework](https://code.google.com/p/googletest/) (optional, to compile the unit tests)
49-
* [Boost 1.55 C++ Libraries](http://www.boost.org/) (optional, to include Reactor.h, which requires boost::coroutines)
50-
51-
TBB is required, because it enables the parallel propagation strategies.
52-
Future plans are to separate the multi-threaded and single-threaded propagation engines more cleanly to remove the TBB dependency if parallelism is not used.
49+
* [Boost 1.55.0 C++ Libraries](http://www.boost.org/) (optional, to include Reactor.h, which requires `boost::coroutine`)
5350

5451
# Features by example
5552

Lines changed: 149 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,149 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2+
<graphml xmlns="http://graphml.graphdrawing.org/xmlns" 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 yFiles for Java 2.11-->
4+
<key for="graphml" id="d0" yfiles.type="resources"/>
5+
<key for="port" id="d1" yfiles.type="portgraphics"/>
6+
<key for="port" id="d2" yfiles.type="portgeometry"/>
7+
<key for="port" id="d3" yfiles.type="portuserdata"/>
8+
<key attr.name="url" attr.type="string" for="node" id="d4"/>
9+
<key attr.name="description" attr.type="string" for="node" id="d5"/>
10+
<key for="node" id="d6" yfiles.type="nodegraphics"/>
11+
<key attr.name="Beschreibung" attr.type="string" for="graph" id="d7"/>
12+
<key attr.name="url" attr.type="string" for="edge" id="d8"/>
13+
<key attr.name="description" attr.type="string" for="edge" id="d9"/>
14+
<key for="edge" id="d10" yfiles.type="edgegraphics"/>
15+
<graph edgedefault="directed" id="G">
16+
<data key="d7"/>
17+
<node id="n0">
18+
<data key="d6">
19+
<y:ShapeNode>
20+
<y:Geometry height="175.0" width="484.0" x="830.56" y="466.25"/>
21+
<y:Fill hasColor="false" transparent="false"/>
22+
<y:BorderStyle hasColor="false" type="line" width="1.0"/>
23+
<y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" hasText="false" height="4.0" modelName="custom" textColor="#000000" visible="true" width="4.0" x="240.0" y="85.5">
24+
<y:LabelModel>
25+
<y:SmartNodeLabelModel distance="4.0"/>
26+
</y:LabelModel>
27+
<y:ModelParameter>
28+
<y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
29+
</y:ModelParameter>
30+
</y:NodeLabel>
31+
<y:Shape type="rectangle"/>
32+
</y:ShapeNode>
33+
</data>
34+
</node>
35+
<node id="n1">
36+
<data key="d6">
37+
<y:ShapeNode>
38+
<y:Geometry height="30.0" width="60.0" x="900.0" y="585.0"/>
39+
<y:Fill hasColor="false" transparent="false"/>
40+
<y:BorderStyle color="#993300" type="line" width="2.0"/>
41+
<y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Consolas" fontSize="16" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="20.0" modelName="sides" modelPosition="s" textColor="#000000" visible="true" width="30.390625" x="14.8046875" y="34.0">&lt;E&gt;</y:NodeLabel>
42+
<y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Arial" fontSize="18" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="24.109375" modelName="custom" textColor="#000000" visible="true" width="9.994140625" x="25.0029296875" y="2.9453125">r<y:LabelModel>
43+
<y:SmartNodeLabelModel distance="4.0"/>
44+
</y:LabelModel>
45+
<y:ModelParameter>
46+
<y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
47+
</y:ModelParameter>
48+
</y:NodeLabel>
49+
<y:Shape type="hexagon"/>
50+
</y:ShapeNode>
51+
</data>
52+
</node>
53+
<node id="n2">
54+
<data key="d6">
55+
<y:ShapeNode>
56+
<y:Geometry height="30.0" width="60.0" x="840.0" y="495.0"/>
57+
<y:Fill hasColor="false" transparent="false"/>
58+
<y:BorderStyle color="#000000" type="line" width="2.0"/>
59+
<y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Consolas" fontSize="16" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="20.0" modelName="sides" modelPosition="n" textColor="#000000" visible="true" width="30.390625" x="14.8046875" y="-24.0">&lt;E&gt;</y:NodeLabel>
60+
<y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Arial" fontSize="18" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="24.109375" modelName="custom" textColor="#000000" visible="true" width="44.025390625" x="7.9873046875" y="2.9453125">inner<y:LabelModel>
61+
<y:SmartNodeLabelModel distance="4.0"/>
62+
</y:LabelModel>
63+
<y:ModelParameter>
64+
<y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
65+
</y:ModelParameter>
66+
</y:NodeLabel>
67+
<y:Shape type="hexagon"/>
68+
</y:ShapeNode>
69+
</data>
70+
</node>
71+
<node id="n3">
72+
<data key="d6">
73+
<y:ShapeNode>
74+
<y:Geometry height="30.0" width="60.0" x="960.0" y="495.0"/>
75+
<y:Fill hasColor="false" transparent="false"/>
76+
<y:BorderStyle color="#000000" type="line" width="2.0"/>
77+
<y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Consolas" fontSize="16" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="20.0" modelName="sides" modelPosition="n" textColor="#000000" visible="true" width="100.765625" x="-20.3828125" y="-24.0">&lt;Events&lt;E&gt;&gt;</y:NodeLabel>
78+
<y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Arial" fontSize="28" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" hasText="false" height="4.0" modelName="custom" textColor="#000000" visible="true" width="4.0" x="28.0" y="13.0">
79+
<y:LabelModel>
80+
<y:SmartNodeLabelModel distance="4.0"/>
81+
</y:LabelModel>
82+
<y:ModelParameter>
83+
<y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
84+
</y:ModelParameter>
85+
</y:NodeLabel>
86+
<y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Arial" fontSize="18" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="24.109375" modelName="custom" textColor="#000000" visible="true" width="45.02734375" x="7.486328125" y="2.9453125">outer<y:LabelModel>
87+
<y:SmartNodeLabelModel distance="4.0"/>
88+
</y:LabelModel>
89+
<y:ModelParameter>
90+
<y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
91+
</y:ModelParameter>
92+
</y:NodeLabel>
93+
<y:Shape type="roundrectangle"/>
94+
</y:ShapeNode>
95+
</data>
96+
</node>
97+
<node id="n4">
98+
<data key="d6">
99+
<y:ShapeNode>
100+
<y:Geometry height="29.0" width="75.48806250000007" x="989.16796875" y="585.5"/>
101+
<y:Fill hasColor="false" transparent="false"/>
102+
<y:BorderStyle color="#000000" type="line" width="1.0"/>
103+
<y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Consolas" fontSize="16" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="20.0" modelName="internal" modelPosition="c" textColor="#000000" visible="true" width="65.578125" x="4.954968750000035" y="4.5">[e,...]</y:NodeLabel>
104+
<y:Shape type="rectangle"/>
105+
</y:ShapeNode>
106+
</data>
107+
</node>
108+
<edge id="e0" source="n2" target="n1">
109+
<data key="d8"/>
110+
<data key="d10">
111+
<y:PolyLineEdge>
112+
<y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/>
113+
<y:LineStyle color="#000000" type="line" width="1.0"/>
114+
<y:Arrows source="none" target="standard"/>
115+
<y:EdgeLabel alignment="center" backgroundColor="#FFFFFF" configuration="AutoFlippingLabel" distance="2.0" fontFamily="Consolas" fontSize="16" fontStyle="plain" height="20.0" lineColor="#000000" modelName="center_slider" preferredPlacement="anywhere" ratio="0.0" textColor="#000000" visible="true" width="65.578125" x="-19.377278645833258" y="10.11767578125">[e,...]<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"/>
116+
</y:EdgeLabel>
117+
<y:BendStyle smoothed="false"/>
118+
</y:PolyLineEdge>
119+
</data>
120+
</edge>
121+
<edge id="e1" source="n3" target="n1">
122+
<data key="d8"/>
123+
<data key="d10">
124+
<y:PolyLineEdge>
125+
<y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/>
126+
<y:LineStyle color="#000000" type="line" width="1.0"/>
127+
<y:Arrows source="none" target="standard"/>
128+
<y:EdgeLabel alignment="center" backgroundColor="#FFFFFF" configuration="AutoFlippingLabel" distance="2.0" fontFamily="Consolas" fontSize="16" fontStyle="plain" height="20.0" lineColor="#000000" modelName="center_slider" preferredPlacement="anywhere" ratio="0.0" textColor="#000000" visible="true" width="47.984375" x="-37.40397135416674" y="10.11767578125">inner<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"/>
129+
</y:EdgeLabel>
130+
<y:BendStyle smoothed="false"/>
131+
</y:PolyLineEdge>
132+
</data>
133+
</edge>
134+
<edge id="e2" source="n4" target="n1">
135+
<data key="d8"/>
136+
<data key="d10">
137+
<y:PolyLineEdge>
138+
<y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/>
139+
<y:LineStyle color="#000000" type="line" width="1.0"/>
140+
<y:Arrows source="standard" target="none"/>
141+
<y:BendStyle smoothed="false"/>
142+
</y:PolyLineEdge>
143+
</data>
144+
</edge>
145+
</graph>
146+
<data key="d0">
147+
<y:Resources/>
148+
</data>
149+
</graphml>
5.1 KB
Loading
Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2+
<graphml xmlns="http://graphml.graphdrawing.org/xmlns" 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 yFiles for Java 2.11-->
4+
<key for="graphml" id="d0" yfiles.type="resources"/>
5+
<key for="port" id="d1" yfiles.type="portgraphics"/>
6+
<key for="port" id="d2" yfiles.type="portgeometry"/>
7+
<key for="port" id="d3" yfiles.type="portuserdata"/>
8+
<key attr.name="url" attr.type="string" for="node" id="d4"/>
9+
<key attr.name="description" attr.type="string" for="node" id="d5"/>
10+
<key for="node" id="d6" yfiles.type="nodegraphics"/>
11+
<key attr.name="Beschreibung" attr.type="string" for="graph" id="d7"/>
12+
<key attr.name="url" attr.type="string" for="edge" id="d8"/>
13+
<key attr.name="description" attr.type="string" for="edge" id="d9"/>
14+
<key for="edge" id="d10" yfiles.type="edgegraphics"/>
15+
<graph edgedefault="directed" id="G">
16+
<data key="d7"/>
17+
<node id="n0">
18+
<data key="d6">
19+
<y:ShapeNode>
20+
<y:Geometry height="166.0" width="500.0" x="882.3200000000002" y="501.0"/>
21+
<y:Fill hasColor="false" transparent="false"/>
22+
<y:BorderStyle hasColor="false" type="line" width="1.0"/>
23+
<y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" hasText="false" height="4.0" modelName="custom" textColor="#000000" visible="true" width="4.0" x="248.0" y="81.0">
24+
<y:LabelModel>
25+
<y:SmartNodeLabelModel distance="4.0"/>
26+
</y:LabelModel>
27+
<y:ModelParameter>
28+
<y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
29+
</y:ModelParameter>
30+
</y:NodeLabel>
31+
<y:Shape type="rectangle"/>
32+
</y:ShapeNode>
33+
</data>
34+
</node>
35+
<node id="n1">
36+
<data key="d6">
37+
<y:ShapeNode>
38+
<y:Geometry height="30.0" width="60.0" x="900.0" y="615.0"/>
39+
<y:Fill hasColor="false" transparent="false"/>
40+
<y:BorderStyle color="#993300" type="line" width="2.0"/>
41+
<y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Consolas" fontSize="16" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="20.0" modelName="sides" modelPosition="s" textColor="#000000" visible="true" width="30.390625" x="14.8046875" y="34.0">&lt;E&gt;</y:NodeLabel>
42+
<y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="18" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="26.0517578125" modelName="custom" textColor="#000000" visible="true" width="9.994140625" x="25.0029296875" y="1.97412109375">r<y:LabelModel>
43+
<y:SmartNodeLabelModel distance="4.0"/>
44+
</y:LabelModel>
45+
<y:ModelParameter>
46+
<y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
47+
</y:ModelParameter>
48+
</y:NodeLabel>
49+
<y:Shape type="hexagon"/>
50+
</y:ShapeNode>
51+
</data>
52+
</node>
53+
<node id="n2">
54+
<data key="d6">
55+
<y:ShapeNode>
56+
<y:Geometry height="30.0" width="70.0" x="895.0" y="525.0"/>
57+
<y:Fill hasColor="false" transparent="false"/>
58+
<y:BorderStyle color="#000000" type="line" width="2.0"/>
59+
<y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Consolas" fontSize="16" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="20.0" modelName="sides" modelPosition="n" textColor="#000000" visible="true" width="30.390625" x="19.8046875" y="-24.0">&lt;E&gt;</y:NodeLabel>
60+
<y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Arial" fontSize="18" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="24.109375" modelName="custom" textColor="#000000" visible="true" width="58.0263671875" x="5.98681640625" y="2.9453125">source<y:LabelModel>
61+
<y:SmartNodeLabelModel distance="4.0"/>
62+
</y:LabelModel>
63+
<y:ModelParameter>
64+
<y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
65+
</y:ModelParameter>
66+
</y:NodeLabel>
67+
<y:Shape type="hexagon"/>
68+
</y:ShapeNode>
69+
</data>
70+
</node>
71+
<node id="n3">
72+
<data key="d6">
73+
<y:ShapeNode>
74+
<y:Geometry height="25.0" width="192.25612500000034" x="990.0" y="617.5"/>
75+
<y:Fill hasColor="false" transparent="false"/>
76+
<y:BorderStyle color="#000000" type="line" width="1.0"/>
77+
<y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Consolas" fontSize="16" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="20.0" modelName="internal" modelPosition="c" textColor="#000000" visible="true" width="171.140625" x="10.55775000000017" y="2.5">[e if func(e), ...]</y:NodeLabel>
78+
<y:Shape type="rectangle"/>
79+
</y:ShapeNode>
80+
</data>
81+
</node>
82+
<edge id="e0" source="n2" target="n1">
83+
<data key="d8"/>
84+
<data key="d10">
85+
<y:PolyLineEdge>
86+
<y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/>
87+
<y:LineStyle color="#000000" type="line" width="1.0"/>
88+
<y:Arrows source="none" target="standard"/>
89+
<y:EdgeLabel alignment="center" backgroundColor="#FFFFFF" configuration="AutoFlippingLabel" distance="2.0" fontFamily="Consolas" fontSize="16" fontStyle="plain" height="20.0" lineColor="#000000" modelName="center_slider" preferredPlacement="anywhere" ratio="0.5" textColor="#000000" visible="true" width="65.578125" x="-32.7890625" y="20.0146484375">[e,...]<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"/>
90+
</y:EdgeLabel>
91+
<y:BendStyle smoothed="false"/>
92+
</y:PolyLineEdge>
93+
</data>
94+
</edge>
95+
<edge id="e1" source="n3" target="n1">
96+
<data key="d8"/>
97+
<data key="d10">
98+
<y:PolyLineEdge>
99+
<y:Path sx="-96.12806250000023" sy="0.0" tx="0.0" ty="0.0"/>
100+
<y:LineStyle color="#000000" type="line" width="1.0"/>
101+
<y:Arrows source="standard" target="none"/>
102+
<y:BendStyle smoothed="false"/>
103+
</y:PolyLineEdge>
104+
</data>
105+
</edge>
106+
</graph>
107+
<data key="d0">
108+
<y:Resources/>
109+
</data>
110+
</graphml>

doc/media/graphs/flow_filter.png

4.27 KB
Loading

0 commit comments

Comments
 (0)