Multiple colour lines or multiple connectors to the same points?

705 views
Skip to first unread message

interne...@gmail.com

unread,
Sep 23, 2021, 8:27:44 PM9/23/21
to diagrams.net Q&A
Hi All,

I need to create a wiring diagram and I need lines that are coloured
yellow/black.

Is there a way to set a line colour to be multiple colours?

I can work around it by drawing two lines over each other, one hashed.
However the second line is not connected to the end points, so I will have
to manually create a copy every time I move the end points, which is a pain.
If it is not possible to have multicolour lines, is there a way to have
multiple lines connecting to the same end points?

Cheers,

Paul
www.internetscooter.com
www.vespalabs.org

vespa_diagram.jpg

diagrams.net Q&A

unread,
Sep 24, 2021, 5:17:58 AM9/24/21
to diagrams.net Q&A

Hi,

Unfortunately, multi color lines are not supported at the moment but you can comment and track the GitHub issue we already opened:

Maybe you can experiment with gradient and arrows as mentioned here: https://github.com/jgraph/drawio/issues/1345 
but keep in mind that arrows and connectors behave differently. So basically this is not what you are looking for but might help a bit.

Regards,

interne...@gmail.com

unread,
Sep 24, 2021, 7:23:45 AM9/24/21
to diagrams.net Q&A

Thanks,

I have added a better workaround to the issue https://github.com/jgraph/drawio/issues/2038 - it is possible to connect two lines to the same points if you go from different directions. To me this is a workable solution for the meantime.

 

Cheers,

 

Paul

--
You received this message because you are subscribed to the Google Groups "diagrams.net Q&A" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drawio+un...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/drawio/f6380755-7224-4db7-b43a-6e9bfb7c6101n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages