react-graph-db-editor

A generic graph editor that allows you to easily and intuitively edit nodes and their edges.

Usage no npm install needed!

<script type="module">
  import reactGraphDbEditor from 'https://cdn.skypack.dev/react-graph-db-editor';
</script>

README

To Use

npm install it and... To be continued

Develop

Helpful stuff

If you want to console log a mobx object, do it like so:

import { toJS } from 'mobx'
console.log(toJS(crazyMobxThing))

Develop TODOs:

  • make nodes and edges classes that implement interfaces to reduce code redundancy?
  • types in action handlers are probably a little off (update is partial fully?)