Live data from Hacker News

Quiver: A modern commutative diagram editor

github.com

41–50 of 55 posts

Re: Quiver: A modern commutative diagram editor

#41
Looks super nice.

Out of curiosity: Is there a way to do commutative diagrams well with graphviz ? I'd instinctively prefer do do such diagrams in a declarative way and let a layout engine worry about making it look nice. However, I never had to dabble into area that makes heavy use of such diagrams – maybe it's just too hard to make look good for typesetting.

I also have a theory that it would be good to have a re-implementation of the graphviz core to it more modular and make extensions such as Quiver more feasible, as from an outside, layman's view graphviz is pretty old and does not necessarily work well in today's frameworks other than encapsulating it with lotsa layers above it.

Re: Quiver: A modern commutative diagram editor

#42
This looks incredibly well done, congrats!

A quick thing that occurs to me, adding all those elements by point and click appears to be extremely tedious, reminds me of working with music notation software and how I prefer much more something like lilypond.

This makes me wonder, is there some text serialization that could be written by hand? I picture something like graphviz notation. Quiver could use a force-directed layout as a first rough step, but users would then have to manually fix the diagram by dragging and dropping the nodes.

Re: Quiver: A modern commutative diagram editor

#43
post #16

Earlier quoted context omitted.

Unfortunate name collision with the macOS/iOS note taking app Quiver [1] which doesn't do diagrams, but does do LaTeX. [1] https://happenapps.com

Actually it does diagrams, sequence and flowchart. Sadly, the app has gotten more or less no development for at least 4 years and the developer has stopped responding to bug reports for at least a year. It's abandonware at this point.

Sad to hear. I still use it.

Re: Quiver: A modern commutative diagram editor

#45
post #17

There is also https://github.com/yishn/tikzcd-editor which I have used a few times.

It looks very similar to tikzcd-editor. Glad people are making tools like this -- I always felt so cool putting diagrams in my homework and tikzcd-editor was what allowed me to.

I'm sure the graders appreciated it, too, since my handwriting/drawing skills are lacking.

Re: Quiver: A modern commutative diagram editor

#47
I tried to draw my favourite commutative diagram.

Some UI troubles:

1. I would like to be able to move a node by dragging it around.

2. While the "b" key does its job to move the objects, it is very confusing because it pans the view so that the moving object is fixed, giving the impression that everything moves but the object in question.

Re: Quiver: A modern commutative diagram editor

#48
post #28
post #27

Earlier quoted context omitted.

Are there any plans to make this a desktop app. I despise graphical editors in a browser

I've been considering it. If you'd find a desktop app useful, please do open an issue on GitHub: that way I can gauge the demand a little better, which will help me to prioritise what to work on next!

Please ignore Electron requests and consider the PWA approach.

Nice app by the way.

Re: Quiver: A modern commutative diagram editor

#49
post #37
post #27

Earlier quoted context omitted.

Are there any plans to make this a desktop app. I despise graphical editors in a browser

Diagrams.net is using electron for the desktop app, it works really well (and is fast despite what people often beieve of electron)

The problems with Electron isn't speed, rather memory bloat and multiple Chrome copies scattered around the filesystem.

The path forward are PWAs and the ability to use them in any browser.

Otherwise don't cry that Web has turned into ChromeOS, when everyone and their dog is shipping Chrome alongside their application.

Re: Quiver: A modern commutative diagram editor

#50

I tried to draw my favourite commutative diagram. Some UI troubles: 1. I would like to be able to move a node by dragging it around. 2. While the "b" key does its job to move the objects, it is very confusing because it pans the view so that the moving object is fixed, giving the impression that everything moves but the object in question.

You can move vertices by clicking and dragging in the empty space around them. I appreciate this isn't immediately intuitive and I'm trying to come up with a better way to reveal this to the user.

I also agree that fixing the view to the vertices with B can be confusing. My plan is to change this.

Thanks for your comments!

Post reply on HN