Changing color for connections

Is there a way how to change the color for connections?
Whereby the connection from which the color will be changed, shall be selected by its id, such that I can specify which connection lines get another color at all.
Thanks in advance

Are you in the modeler context or in the viewer context? Did you checkout our color example and how did that one not help you?

Best regards,

I am using modeller and I already tried out to do it with Overlays and the set Color option. For last one I got error messages and could not figure out, when and why they appear. In other words: I tried out Option 1 and Option 2 from linked example

In order for us to help you, please spend some time to layout the necessary context.

If you tried out something and it did not work or was not the appropriate solution for you, why did it not work? What was missing?