Graph Contexts

Different graph types are designed for different scenarios.

In Divooka, there are three contexts and six graph types:

  1. Dataflow contexts: Flows, Function
  2. Procedural contexts: Events, Routine
  3. Declarative contexts: Module, Cosntruct

Dataflow vs Procedural Context

Comparison

Learn more:

Mixing Dataflow Context in Procedural Context

One must be very careful as to graph state when mixing dataflow nodes in procedurla context, as illustrated in the below example:

Mix up

The Bigger Than computation is going to be evaluated twice: once per Repeat node, the other per Branch node. This is not standardized behavior and generally procudes "undetermined" results.

Modules

Module defines member data and member behaviors. In Divooka, each graph (no matter which type/context) is actually a module.

The dedicated module context allows defining dedicated types without logic - use subgraphs for logic.