varkor
af7f59e573
wip
2020-02-22 20:38:15 +00:00
varkor
f9bc7c8b7b
Allow multiple heterogeneous heads
2020-02-22 16:41:35 +00:00
varkor
0dab6baaf9
Combine maps to
and arrowhead
with others
2020-02-22 15:58:36 +00:00
varkor
b1185cc160
Combine epi and mono drawing
2020-02-22 15:49:42 +00:00
varkor
6bf1561713
Fix drawing of multiple epi heads
2020-02-22 15:43:52 +00:00
varkor
1e3112c1c9
Refactor arrow head drawing
2020-02-22 14:41:18 +00:00
varkor
f36291146f
Use DOM.SVGElement
in arrow.html
2020-02-22 13:53:14 +00:00
varkor
2f38bb61de
Add background to curve
2020-02-22 13:16:46 +00:00
varkor
564b68a909
Add a preliminary label
2020-02-22 13:16:46 +00:00
varkor
2d288651cf
Preliminary work on squiggly arrows
2020-02-22 13:16:46 +00:00
varkor
fcbb9c9c51
Add explicit namespace to SVGs
2020-02-22 13:16:46 +00:00
varkor
5489b4388e
Make a start on different arrow styles
2020-02-22 13:16:46 +00:00
varkor
d36df13746
Resize SVG appropriately
2020-02-22 13:16:46 +00:00
varkor
87785cebde
Special-case flat Bézier curves
2020-02-22 13:16:46 +00:00
varkor
87db18f0ba
Draw n-cells and arrow heads
2020-02-22 13:16:46 +00:00
varkor
b5003c9405
Start implementing curves from scratch
2020-02-22 13:16:46 +00:00
varkor
289874af28
Split ui.js
up a bit
...
This could be more fine-grained, but it's a start, and allows me to start sharing data structures for the curved arrow refactor.
2020-02-22 13:16:10 +00:00
varkor
38dff5c689
Use query parameter for share URL
...
This is slightly more flexible and only costs an extra couple of characters. The only format is still accepted, but no longer exported.
2020-02-18 00:45:37 +00:00
varkor
39ba687f47
Add titles to radio buttons
...
Hopefully this aids accessibility, whilst also making the pullback/pushout edge type slightly more discoverable.
2020-02-18 00:28:22 +00:00
varkor
4c97a91464
Allow the grid visibility to be toggled with H
...
This makes taking pretty screenshots easier.
2020-02-14 01:46:23 +00:00
varkor
c38f127c0c
Minor cleanup
2020-02-14 01:05:16 +00:00
varkor
9785546919
Improve the sizing of the bottom panel
2020-02-13 01:53:46 +00:00
varkor
44be9fa4fa
Fix a false error when releasing certain configurations of cells
2020-02-13 01:35:01 +00:00
varkor
5fea6c9882
Hide the insertion point when panning
2020-02-13 01:15:04 +00:00
varkor
0a1bff5fa9
Fix an issue with the insertion point not disappearing when the cursor is moved
2020-02-13 00:48:42 +00:00
varkor
84307e6cac
Draw the grid with canvas instead of a CSS background
...
This will facilitate the grid rows and columns to be made proportional to the size of their content.
2020-02-13 00:36:29 +00:00
varkor
899db67cec
Work around bug with description
in tikz-cd output for empty labels
2020-02-08 03:44:43 +00:00
varkor
4bfbf59091
Improve handling of edge reconnection between cells of different levels
...
Cell levels are now recalculated and levels are better accounted for when computing padding. Extra padding has also been added in tikz-cd output for 2-cells.
2020-02-08 03:37:43 +00:00
varkor
ea7da0cde9
Properly trim tikz-cd output
2020-02-08 02:56:49 +00:00
varkor
78d9010194
Round pullback corner angles to nearest 45º
...
This corrects their appearance in rectangles, or in situations where the angle of the arrow is not a clean diagonal.
2020-02-08 02:49:09 +00:00
varkor
a972fea945
Add analytics
2020-02-08 01:23:59 +00:00
varkor
4133aad9ed
Fix an issue with overriding default options with solely a cell level
2019-11-28 21:11:47 +00:00
varkor
4dd63313f0
Fix an issue with arrows between nameless arrows
2019-11-04 18:10:15 +00:00
varkor
c13ab36f73
Place LaTeX output inside a block by default
...
Centring the tikz-cd diagram is the typical scenario.
2019-07-24 23:59:56 +01:00
varkor
003b29aa83
Fix issue with non-ASCII Unicode in labels when exporting
2019-07-01 22:47:42 +01:00
varkor
5b2c7d1756
Fix issues with selection while the export pane is visible
2019-07-01 22:35:54 +01:00
varkor
44e1a96127
Hide the insertion point when connecting a vertex to an edge
2019-07-01 22:18:14 +01:00
varkor
e4bf1c83dd
Add quiver URL to LaTeX output
...
The URL is now in a leading comment, which makes it easier to edit diagrams exported from quiver, without manually adding the URL to each diagram.
2019-07-01 21:32:24 +01:00
varkor
3878a7ae32
Fix KaTeX load failure error message
2019-05-11 14:09:17 +01:00
varkor
44f3ed476e
Support macros with arguments
2019-03-26 17:41:58 +00:00
varkor
052843cdf8
Add custom macro file loading
...
This is a big gain in usability for commutative diagrams with many custom definitions. The user may now provide a URL of macro definitions, which will be loaded and used in the LaTeX label rendering. Currently, only macros without arguments are permitted.
2019-03-26 17:41:58 +00:00
varkor
04923321c4
Resize 1-cells to account for vertex label sizes
2019-03-26 12:03:04 +00:00
varkor
51c012b79e
Update toolbar after loading quiver
2019-03-25 17:00:40 +00:00
varkor
6e901af4e2
Extend label resizing to edge labels
2019-03-25 15:13:09 +00:00
varkor
58d8f14594
Escape $
in KaTeX
2019-03-22 17:10:31 +00:00
varkor
8e8b4e9b78
Resize vertex labels to ensure they fit into their cell
...
This is a small step towards large readable commutative diagrams.
2019-03-22 17:02:57 +00:00
varkor
d6449bbb57
Permit partial errors in LaTeX input
...
This prevents entire expressions with an invalid command from rendering as input LaTeX rather than equationally as desired.
2019-03-22 16:03:25 +00:00
varkor
afea627c49
Remove restriction on matching source and target level
2019-01-31 00:25:21 +00:00
varkor
da2ccd8b64
Update label angle when reconnecting an edge
2019-01-28 18:20:02 +00:00
varkor
20e726c434
Fix a regression in focusing cell label input when repeatedly clicking
2019-01-28 18:12:08 +00:00