Colour Coded Diagrams

Last updated 3 months ago

Use colours to create rules for how Resources flow trough your diagram.

You can use colour in your diagram to visually distinguish between different types of Resources, Nodes or Connections. However, Machinations can also use colour to set rules for your Resources flow.

In Colour Coded diagrams:

  1. The colour set for each Source & Drain will determine the type/colour of Resource they produce/ consume.

  2. Resource Connections use colour to determine which Resources they transfer.

  3. State Connections will respond to Resources based on their colour.

Activate Colour Coding by ticking the Colour Coding option in the Functional menu on those Connections that you want to react to the colour of the Resources it moves. Then select the type/colour of the Resource you want it to transfer.

If Colour Coding is activated at Connection level, set the colour of the Resources a Node handles in the Functional menu on the right, by choosing a colour from the drop-down menu.

If Colour Coding is not ticked in a flow, the colour of the Resources is only aesthetic.

Connections, Sources, Pools, Drains

In the video example below, we have showcased the same diagram in 3 states:

  1. Not Colour Coded: there's a conflict of pulling between the 2 Resource Connections of the Drain.

  2. Colour Coded: the Drain now pulls through both Resource Connections,. The rule of how Resources flow towards the Drain is being set through their colour.

  3. Colour Coded with flow interruption: Notice how when we change the type of Resource one of the Connections may accept, the flow changes, and the Orange Resources are being stacked in the Pool.

Colour-coding allows you to store different Resources in the same Pool.

Colour Coding versus Diagram Elements Colours

You can use colour to emphasise or to distinguish different elements of your diagrams, without this affecting the flow of Resources.

Watch the video below for such an example. On the same diagram example used before, with Colour Coding active, we will change the colour of one of the Sources and one of the Resource Connections. Notice this type of change has no effect on the Resources the Node and Connection handle.

‚Äč