equilibria-engine-js
v1.0.7
Published
Headless js renderer for kineticgraphs
Readme
Equilibria Engine
Welcome to the Equilibria Engine (equilibria-engine-js), a headless Javascript rendering engine for interactive kinetic graphs.
[!NOTE] Acknowledgement: This project is a hard fork of the excellent KGJS engine originally created by Chris Makler. The intent of the Equilibria fork is to decouple the core mathematical engine from its original monolithic application structure, making it substantially easier for developers to integrate economic models into modern websites, SPAs (React/Vue/Svelte), and custom data visualization pipelines.
Installation
npm install equilibria-engine-jsYou will also need to import the engine's CSS and the KaTeX CSS (for math rendering) in your application:
import "equilibria-engine-js/dist/style.css";
import "katex/dist/katex.min.css"; Documentation
Comprehensive documentation has been added to assist developers in utilizing and configuring the headless engine.
Please see the local /docs directory for guides:
Dependencies
The engine relies heavily on:
- D3 for drawing 2D diagrams
- mathjs for mathematical constraint solving and evaluation
- KaTeX for rendering mathematical typographic text (requires
katex/dist/katex.min.css)
