If you are to build a specific online diagraming solution in 2020, what JavaScript library/framework would you use?
The features expected:
- select shapes
- move shapes
- resize shapes
- click events
- glue to lines
- snap rules
- change shape color/style
- complex (custom) shapes, grops
- change shape text (preferably with format, i.e. bold/italics)
- programmatic shape access (like change data graphics, colors/styles, dynamic icons)
- load/save
Options I have seen
d3.js (raising the sun manually)?
svg.js,
snap.svg (any better)?
Raphael.js,
Draw2d,
bonsai.js(outdated, no updates for a long time)?
MxGraph (
examples, aka draw.io) - looks like a monster, but maybe I am wrong?
Fabric.js,
Paper.js, go.js - looks promising, but uses canvas (hard to debug)?
Rappid (jointJs),
GoJS - looks kind of promising, but not open source (binds you to a vendor)? Are they okay?
Lucidcharts, Visio - no custom code/plugins? (the API only
reads information - am I wrong)?