DiaFlux models are an intuitive implementation of flowchart knowledge. That way, the dialog behavior as well as the derivation behavior is modeled as a flowchart, where nodes correspond to questions to be asked and solutions to be derived. Edges between two nodes describe a dependency, e.g., the subsequent questioning in a dialog or the subsequent derivation of a solution. DiaFlux models are usually partitioned in small models that can call each other in order to describe a complex model.
A new DiaFlux model is created by inserting the following (empty) markup into the wiki article.
%%DiaFlux %
After saving the article, KnowWE provides a link to visually edit the empty model. When clicking the link, a new window with a visual editor is opened. In the editor, you can drag an drop questions from the left menu pane into the editor panel. Please insert a start and a stop node (from the toolbar) into the flowchart first. Then we open the hierarchy Connection Questions from the entry Tutorial Printer Problems in the left menu. We drag the questions from the left hierarchy into the editor pane and connect the nodes
Please insert Connection Flow into the text field as the name of the flowchart.
TOTOTOTOOT
When saving the editor, the following view is depicted in the wiki.
We define the entry of the knowledge base, where the user is asked about the general problem with the printer. A new DiaFlux model is created by inserting the following (empty) markup into the wiki article.
%%DiaFlux %
As depicted in the image below, we also marked this DiaFlux model as the Autostart mode, i.e., the model started at the beginning of a user dialog.
We see, that the question Please specify your problem is asked at the beginning. Then, the questionnaire Connection Questions and Quality Questions is