GoJS is a flexible library that can be used to create a number of different kinds of interactive diagrams, including data visualizations, drawing tools, and graph editors. There are samples for flowchart, org chart, business process BPMN, swimlanes, timelines, state charts, kanban, network, mindmap, Sankey, family trees and genogram charts, fishbone diagrams, floor plans, UML, decision trees, pert charts, Gantt, and hundreds more. GoJS includes a number of built-in layouts including tree layout, force directed, radial, and layered digraph layout, and a number of custom layout examples.
GoJS is rendered with an HTML Canvas element (with export to SVG or image formats). GoJS can run in a web browser, or server-side in Node or Puppeteer. GoJS Diagrams are backed by Models, with saving and loading typically via JSON.
Read here to find out more.