! Definition:\\ Diaflux is a graphical workflow authoring plugin for KnowWE. It is used to model complex problems in an easy to read and understand fashion. ! Syntax and Semantic:\\ An Diaflux workflow is defined inside the markup __DiaFlux__ Example: %%knowledgebase DiafluxExample @comment: a simple example @filename: knowledgebase.d3web @version: 0.01 @uses: DiafluxExample /% %%Question input - user_inputs -- temperature [num] {DEGREES_C} @package: DiafluxExample % %%Solution output - system_output -- warm -- cold -- just_fine @package: DiafluxExample % %%DiaFlux <flowchart fcid="flow_7184e213" name="ExampleWorkFlow" icon="sanduhr.gif" width="750" height="500" autostart="false" idCounter="15"> <!-- nodes of the flowchart --> <node fcid="#node_2"> <position left="57" top="44"></position> <start>start</start> </node> <node fcid="#node_3"> <position left="591" top="379"></position> <exit>exit</exit> </node> <node fcid="#node_5"> <position left="231" top="135"></position> <decision>"Temperature"</decision> </node> <node fcid="#node_6"> <position left="177" top="268"></position> <decision>warm</decision> </node> <node fcid="#node_9"> <position left="305" top="268"></position> <decision>cold</decision> </node> <node fcid="#node_11"> <position left="565" top="268"></position> <decision>just_fine</decision> </node> <!-- rules of the flowchart --> <edge fcid="#rule_7"> <origin>#node_2</origin> <target>#node_5</target> </edge> <edge fcid="#rule_8"> <origin>#node_5</origin> <target>#node_6</target> <guard markup="KnOffice">"Temperature" > 25</guard> </edge> <edge fcid="#rule_10"> <origin>#node_5</origin> <target>#node_9</target> <guard markup="KnOffice">"Temperature" < 25</guard> </edge> <edge fcid="#rule_12"> <origin>#node_5</origin> <target>#node_11</target> <guard markup="KnOffice">"Temperature" = 25</guard> <routingPoint x="0.9747292418772563" y="0" /> </edge> <edge fcid="#rule_13"> <origin>#node_11</origin> <target>#node_3</target> </edge> <edge fcid="#rule_14"> <origin>#node_9</origin> <target>#node_3</target> <routingPoint x="0" y="1" /> </edge> <edge fcid="#rule_15"> <origin>#node_6</origin> <target>#node_3</target> <routingPoint x="0" y="1" /> </edge> </flowchart> @package: DiafluxExample %