Readit News logoReadit News
varkor · 5 years ago
I'm happy to see people are interested in the editor!

Let me also point out that I wrote a short blog post about the motivation behind quiver, as well as some of its key features, here: https://varkor.github.io/blog/2020/11/25/announcing-quiver.h...

sirjaz · 5 years ago
Are there any plans to make this a desktop app. I despise graphical editors in a browser
varkor · 5 years ago
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!
ta988 · 5 years ago
Diagrams.net is using electron for the desktop app, it works really well (and is fast despite what people often beieve of electron)
Aeolun · 5 years ago
An electron wrapper?
da39a3ee · 5 years ago
It's written in javascript, you entitled twerp! The author has created this beautiful tool for free in his/her spare time.
pabs3 · 5 years ago
It is written in JavaScript, so you will need a browser of some kind (Electron is basically a browser), unless it gets re-written in a different language.
choeger · 5 years ago
This looks like a really nice and well-made tool. Kudos and thanks for open sourcing!

One nitpick: Why do you use a Makefile without using any of the features of Make and then even requiring a special GNUMake feature to make things work like a shell script? Why not simply provide shell scripts in the first place?

gnulinux · 5 years ago
I do this too, my reasons are:

* It's an old habit, I'm used to handwriting my own Makefiles for every project, and every time I start a new project it's an instinct to create a .gitignore and Makefile

* There is always a possibility of needing make features in the future. Like nowadays my makefiles have `make build` recipe which builds docker containers via docker-compose and a `make run` that depends on `build` and then shells into that container.

* make is easier to use than shell scripts since you can just do `make <cmd>` to run your command

varkor · 5 years ago
Thanks! I use a Makefile simply because someone else contributed it early on in the development and it did the job, so I didn't see a reason to replace it. If there's a better way, I'd be happy to receive a pull request to change it!
alderz · 5 years ago
There is also https://github.com/yishn/tikzcd-editor which I have used a few times.
cole-k · 5 years ago
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.

armanboyaci · 5 years ago
chalst · 5 years ago
I wish there was such a tool creating Metapost code. Metapost output is much more readable than pstricks and far, far faster than TikZ. And FWIW, it's what Knuth uses.
cartesiancat · 5 years ago
This solves an entirely different problem.
IshKebab · 5 years ago
I recommend IPE for this sort of thing (unless you need exactly this).

http://ipe.otfried.org/

It's by far the best diagramming tool for Latex.

cartesiancat · 5 years ago
Commutative diagrams, and pasting diagrams in particular, are a precise mathematical notation that other tools just don't handle well. I don't know many diagram editors that support edges-between-edges.
alderz · 5 years ago
Ipe is a lovely piece of software. I use it a lot and always feel that it deserves to be more well-known.

I do not find it especially good for commutative diagrams, though. I usually type tikz-cd code for those cases.

tlb · 5 years ago
Could you support nice-looking causal diagrams? Most look like the bubble-and-line diagrams in [Pearl 95](http://bayes.cs.ucla.edu/R218-B.pdf). I think it would increase their popularity (and the quality of science) if it was easy to include nice ones in papers & blogs.
Jeaye · 5 years ago
I tried this and documented my thoughts here: https://github.com/varkor/quiver/issues/45
varkor · 5 years ago
I think you should already be able to draw most of the causal diagrams from that paper already: you can use `\circ` for the white circles and `\bullet` for the black ones. Perhaps the only missing feature is being able to draw double-ended arrows? That's on my to-do list; let me know if there's something else that's missing.
toomim · 5 years ago
What's a "commutative" diagram?
redvenom · 5 years ago
It is a diagram whose vertices are mathematical objects and whose arrows are morphisms (often functions) between those objects such that any two paths between two vertices represent the same morphism/function. Typically it is used to infer information about one morphism or object using others, by keeping track of many properties at once in a graphical fashion.
golem14 · 5 years ago
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.