« Back to AAU Project

Process Animation as in ADONIS

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Process Animation as in ADONIS
community external coupling documentation visualisation configuration
Answer
3/27/14 11:02 AM
How to add a stepper functionality as same as process animation as in ADONIS?

RE: Process Animation as in ADONIS
Answer
2/12/14 3:26 PM as a reply to Fadi.
Animation and stepper support for graph-based models can be easily realized in ADOxx, since the models developed in ADOxx represent directed graphs. As an example, please find attached an example implementation that builds on the example for graph algorithms as provided in this forum post: http://www.adoxx.org/live/faq/-/message_boards/message/59645

The basic idea is to provide an animation through a graph and trigger custom action for each node in the graph. The script supports:
- dynamic detection of start and end nodes based on the connectors pointing in or out. If multiple start nodes have been found, a selection box is presented
- branches: in case a branch in the graph is detected = more than 1 outgoing connector, a selectionbox is presented that allows the user to select the next object that the stepper should go
- subgraph: in case subgraphs are linked, the user can decide to jump into the subgraph and step through or jump over that node.
- action procedure: to implement triggers for custom actions in a seperate procedure

Please find attached an ABL, ADL. The functionality is triggered in the menu entry "Graph analysis" -> "Step graph"


.
Attachment

Attachments: Graph Analysis Library v2.abl (35.5k), Graph Analysis Library v2.adl (8.7k), Stepper.jpg (12.8k)