jgraph / drawio

draw.io is a JavaScript, client-side editor for general diagramming.
https://www.drawio.com
Other
41.08k stars 7.63k forks source link

Can't put connectors on their own layer. #3976

Open mhdadk opened 11 months ago

mhdadk commented 11 months ago

Preflight Checklist

You must agree to search and the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.

If you are technical, you should reporting bugs along the lines of https://marker.io/blog/how-to-write-bug-report. If you are not technical, we will make allowances, please try to make an effort to understand the process.

Describe the bug I'm currently trying to animate a sequential process by putting arrows and boxes into separate layers. The following is a minimal reproducible example. Here is my current setup: image

I've labelled each arrow and textbox with the corresponding layer that it is assigned to. As another proof, here is a screenshot showing that the arrows and textboxes are assigned to their corresponding layer: steps01234

My understanding of layers is that, when I hide all layers except layers "step0" and "step1", then I should see this: image

However, I instead see this: image

The "step1" arrow only shows up when I show layer "step2", which is not the expected behavior: image

The same problem happens when I show layer "step3", where the "step3" arrow only shows up when I show layer "step4": image image

It seems that the problem is that arrows (or connectors in general) cannot be put on their own separate layer, but are only assigned to the layer in which their corresponding shape is assigned to (the textboxes). Is there any way I can get the arrows to be on their own layer?

To Reproduce See above.

Expected behavior See above.

Screenshots See above.

draw.io version (In the Help->About menu of the draw.io editor):

Desktop (please complete the following information):

Smartphone (please complete the following information): N/A

I tested the problem in incognito/private mode with all browser extensions switched off, write "yes" below:

Additional context Add any other context about the problem here.

github-actions[bot] commented 4 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. See the FAQ for more information.