Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crossing over arrows #19

Open
vikraman opened this issue Mar 5, 2020 · 4 comments
Open

Crossing over arrows #19

vikraman opened this issue Mar 5, 2020 · 4 comments
Labels
diagrams lacklustre diagram features or options feature-request new feature

Comments

@vikraman
Copy link

vikraman commented Mar 5, 2020

For 3d diagrams, could a button be added for using "crossing over" in tikzcd? This is something I often have to add manually after exporting.

@varkor varkor added the feature-request new feature label Mar 5, 2020
@varkor
Copy link
Owner

varkor commented Mar 6, 2020

This is definitely something I plan to add. However, it's more subtle than you might think. To make this work properly, the arrows need to be ordered (so that only arrows "below" the current one are cut out). Most likely, we'd actually want a layer system to make it intuitive and flexible. This adds quite a lot of complexity for a minor feature. It's definitely on the roadmap, but is probably blocked on #20.

@varkor varkor added the diagrams lacklustre diagram features or options label Mar 7, 2020
@AlexanderZeilmann
Copy link

As far as I can tell, the arrows are always sorted in the order they were created, right? So in that sense, there is already a simple "layer system".

If users want to move arrows to the front, they can always delete the arrows and recreate them. There could be buttons to move arrows to the back or front, but they are not necessary for a first implementation, I think.

@varkor
Copy link
Owner

varkor commented Nov 16, 2021

If users want to move arrows to the front, they can always delete the arrows and recreate them.

This would be quite an awkward way to manipulate layers. In any case, the complexity is really in the rendering and the exporting to tikz-cd (which has a rather ad hoc method of rendering crossing over arrows). I do plan to get to this when I have some more time (hopefully in the new year), but it's going to require some thought.

@AlexanderZeilmann
Copy link

You are absolutely right that this is a little awkward. I was just thinking about an implementation that does not require a complete rewrite of quiver.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
diagrams lacklustre diagram features or options feature-request new feature
Projects
None yet
Development

No branches or pull requests

3 participants