Actions

Actions abstract from the different graph systems which OpenCAGE may integrate and provide a consistent way of changing the graph to the commands of OpenCAGE.

For all kind of basic graph modifications there are actions which provide these to the commands. To get an action a Node_Model or a Edge_Model is asked for a specific action. The graph system specific implementation then returns an appropriate action of that type. If you ask an RFG_Node_Model for a "Move"-action, you will get a RFG_Move_Action which is a descendant of the abstract Move_Action.

Figure 7-3. Hierarchy of Actions (incomplete)

Hierarchy of Actions (incomplete)

Motivation