Jump to content
Kev

quiver: a modern commutative diagram editor

Recommended Posts

Posted

title.png

 

quiver is a modern, graphical editor for commutative and pasting diagrams, capable of rendering high-quality diagrams for screen viewing, and exporting to LaTeX via tikz-cd.

 

Creating and modifying diagrams with quiver is orders of magnitude faster than writing the equivalent LaTeX by hand and, with a little experience, competes with pen-and-paper.

Try quiver out: q.uiver.app

 

Features & screenshots

quiver features an efficient, intuitive interface for creating complex commutative diagrams and pasting diagrams. It's easy to draw diagrams involving pullbacks and pushouts,

 

pullback.png

 

adjunctions,

 

adjunction.png

 

and higher cells.

 

3-cell.png

 

Object placement is based on a flexible grid that resizes according to the size of the labels.

 

flexible-grid.png

 

styles.png

 

There is a wide range of composable arrow styles.

 

grid-hidden.png

 

quiver is intended to look good for screenshots, as well as to export LaTeX that looks as close as possible to the original diagram.

 

hints.png

 

Diagrams may be created and modified using either the mouse, by clicking and dragging, or using the keyboard, with a complete set of keyboard shortcuts for performing any action.

 

export.png

 

When you export diagrams to LaTeX, quiver will embed a link to the diagram, which will allow you to return to it later if you decide it needs to be modified, or to share it with others.

 

Other features

  • Multiple selection, making mass changes easy and fast.
  • A history system, allowing you to undo/redo actions.
  • Support for custom macro definitions: simply paste a URL corresponding to the file containing your \newcommands.
  • Panning and zooming, for large diagrams.
  • Smart label alignment and edge offset.

 

Building

Make sure you have installed yarn and have a version of make that supports .ONESHELL (e.g. GNU Make 3.82).

Clone the repository, and run

make

 

which will build KaTeX. Then simply open src/index.html in your favourite web browser.

 

If you have any problems building quiver, open an issue detailing the problem and I'll try to help.

 

Thanks to

  • S. C. Steenkamp , for helpful discussions regarding the aesthetic rendering of arrows.
  • AndréC for the custom TikZ style for curves of a fixed height.
  • Everyone who has improved quiver by reporting issues or suggesting improvements.

 

Download quiver-master.zip

 

or

git clone https://github.com/varkor/quiver.git

 

Source

  • Upvote 1
  • Downvote 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...