Machinations Documentation
  • What is Machinations?
  • ☉Getting Started
    • Explore
    • Interface
    • Framework Basics
    • How-To Videos
  • ▷ Simulations
    • Run Modes
    • Charts
  • ⦽ Basic Nodes
    • Pools
    • Sources
    • Drains
  • ⇢ Connections
    • Resource Connections
    • State Connections
      • Label Modifiers
      • Node Modifiers
      • Triggers
      • Activators
    • Labels
  • ⧰ Advanced Nodes
  • Converters & Traders
  • Gates
    • Sorting Gates
    • Trigger Gates
    • Mixed Gates
  • Registers
    • Math.js Functions
  • Delays & Queues
  • End Conditions
  • Artificial Player
  • ✑ Nodes Properties
    • Activation Modes
    • Pulling & Pushing Resources
    • Filter (Colour Coding)
  • ⚯ Collaboration
    • Live Collaborative Editing
    • Public Diagrams
    • Google Sheets
    • Tags
  • ♔ Accounts
    • User Profile
    • Pricing
    • Billing Policy
    • Team Management
  • ☆ Tips
    • Shortcuts
    • Best Practices
  • ⚙️Unity Plugin (UP) & API
    • Game Engine Plugin
    • Quick Start
    • Main Concepts
    • Real-Time Sync
    • Unity Integration Guide
    • Known Issues
    • Key Features
      • Game-Aware Analytics
      • Local Cache
      • Game State Awareness
      • Data Formats & Handoff
  • ≏ Evolution
    • Changelog
    • Framework Diff Log
  • 〄 Localisations
  • 🇷🇺 RU by Lev "evlko" Kobelev
Powered by GitBook
On this page
  • Connections, Sources, Pools, Drains
  • Colour Coding versus Diagram Elements Colours
  1. ✑ Nodes Properties

Filter (Colour Coding)

create distinct Resource Types

PreviousPulling & Pushing ResourcesNextLive Collaborative Editing

Last updated 4 years ago

Machinations uses a colour Filter to set rules for how Resources flow.

Filters apply to individual Elements and Structures, not globally, per diagram.

This function can be activated in the Resource Connection's Properties menu. A Resource Connection for which the Filter has been activated, will only transfer Resources whose colour matches the filter's. Select the filter colour in the dropdown to its right (see above).

In structures that use Filter:

  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.

You can set the colour of the Resource in the Properties menu for each Node.

Connections, Sources, Pools, Drains

  1. Not Colour Coded

  2. Colour Coded: the Drain pulls through both Resource Connections,. The rule of how Resources flow towards the Drain is being set through the Filter 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 Blue Resources are being stacked in the Pool.

Colour Coding versus Diagram Elements Colours

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

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

Watch the gif below for such an example. On the same diagram example used before, with Colour Coding active, we change the colour of the Resource Connections on the top branch. Notice this type of change has no effect on the Resource flow.

🔧
🔧