yishn / tikzcd-editor

A simple visual editor for creating commutative diagrams.
https://tikzcd.yichuanshen.de/
MIT License
1.86k stars 100 forks source link

Allow nodes to be dragged on to empty cells #59

Open F1nnM opened 3 years ago

F1nnM commented 3 years ago

Nodes can be merged now. Merging nodes A and B only works, if at least one node doesn't contain text (is empty). Merging can be done by dragging:

Dragging the base of an arrow to the target of it, turns the arrow into a loop.

Everything seems to be working fine, but I'm not 100% sure I caught all bugs, so tell me if I introduced any bugs.

F1nnM commented 3 years ago

I think I fixed everything

F1nnM commented 3 years ago

Hi, I really don't want to pressure you, but I also really would like this PR to count towards hacktoberfest, so if you could accept it before the end of the month, that would be great! 😄