Add hexagon shape
What if we think of ability to use sprites of any shape? Like to support connecting thirdparty libraries? Does canvas support that?
I would say LikeC4 is currently only limited by Graphviz. The steps are:
- compute graph for each view
- layout graph by:
- generate DOT source (here, we are restricted to Graphviz shapes)
- run Graphviz
- Parse JSON and convert it to our model
- Render LikeC4 model with konva
But LikeC4 model is "kinda render-agnostic".
I experimented with tldraw and that was quite good but required more code. At some point, I abandoned this way, as was stuck with bezier lines (I'm not really good at this)
konva library is just a super easy way to get it rendered with smooth animations. And quite feature-rich. But can't be rendered "headless" without cairo being installed
I think sooner or later, we reach some boundaries for sure.