Color Highlighting with easyflow ‐ tagging - HenriAugusto/easyflow GitHub Wiki

Sometimes it may be useful to "tag" some colored [send][receive]s. For example,

Check the [easyflow/GOPTool] abstraction (which is a nice example of how color highlighting can make it easier to read your code)

easyflow/GOPTool(https://github.com/HenriAugusto/easyflow/raw/master/wikiFiles/GOPToolScreenShot.png)

Notice how yellow was used to mark variables related to the (x,y) pair. They use the same color but differ from their "tag" (label, actually). This can be a good resource to "group" your [send][receive]s.

The same goes for [easyflow/sample~]. Note how the left and right play [send][receive]s are the same color and tagged with the stereo channel.

easyflow/sample~(https://github.com/HenriAugusto/easyflow/raw/master/wikiFiles/sample~ScreenShot.png)

You can also use it to tag, for example, send/receives that are related to a specific function like initializing your code. There is "init" on the [s][r] names but the tag makes them easier to find (and you could remove "init" from the names if you wanted). This might be useful because we must enforce correct initiation. You can not easily know which [loadbang] object will be triggered first in a big patch so one should have only one and use wireless connections to ensure proper initialization order.

initTags.png


Prev: Color Highlighting with easyflow ‐ inlets and outlets

Next: Color Highlighting with easyflow ‐ local connections