varkor / quiver

A modern commutative diagram editor for the web.
https://q.uiver.app
MIT License
2.39k stars 78 forks source link

Flip or rotate by $\pi/2$ whole diagram #110

Closed pbustillo05 closed 6 months ago

pbustillo05 commented 3 years ago

It happens a lot to me that I change my conventions and want to reverse all arrows in my diagrams (or all vertical/horizontal arrows or a part of the diagram). I could use a "select all" followed by a "reverse" button but it would break a general aesthetic rule that I think is quite common: it's often preferable to have all arrows going rightward or downward (rather than going in all directions) as this makes a paper with many diagrams more readable (it follows the order in which we read in english). I don't think it's possible to do this in the tikz-cd code directly (as it is built out of a matrix with \halign commands) so it usually takes a lot of time to do manually. To avoid this, I think it would be very nice to have buttons that can flip (along either vertical or horizontal axis) the whole diagram, and even a button that rotate by a fourth of a turn the whole diagram.

enjoysmath commented 2 years ago

What is the current status of this?

varkor commented 1 year ago

What is the current status of this?

I simply haven't had time to work on quiver lately. I would like to implement this feature.

varkor commented 6 months ago

This has been implemented in https://github.com/varkor/quiver/commit/8ee1417a02894940363a921f8a96dc9f6460adf2 and will be in the next version of quiver.