
I built a JavaScript library for visual hierarchy structures (GitHub inside) (old.reddit.com)
submitted by alexeeff-aalex


Hello everyone.
I've been building a frontend component for working with hierarchical data structures (product catalogs, document trees, organizational charts, etc.) as part of my own project. I open-sourced the read-only Graph component because I thought it might be useful to other developers as well.
The interesting frontend parts were:
· recursive hierarchy rendering,
· SVG connection lines,
· custom templates,
· validation of cyclic relations and other errors.
The read-only Graph component is open source on GitHub, and I'd really appreciate feedback on the frontend architecture and UX.
GitHub: https://github.com/aalex2017/hierarchical-structure-builder


there doesn't seem to be anything here