kieler / elkjs

ELK's layout algorithms for JavaScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hello! Markmap.js vs. ELK.js Layout

magnussentio opened this issue · comments

Hello! I've had quite a bit of experience using Markmap.js to create mindmaps. Although markmap produces fantastic layouts, its functionality is very limited (basically can only include markdown aspects as the data).

I've switched to react-flow and am using ELK for the automatic layout capabilities. Additionally, I created a parser that can take my original markdown input, parse and create nodes and edges based on the markdown hierarchy, and generate a react flow diagram using ELK js for the layout.

Without diving too deep under the hood (and happy to provide examples if requested), what would be the best layout options to achieving the tightly nested but highly readable layout that markmapjs produces using ELKjs?

Hi, could you add example drawings such that I can suggest suitable algorithms and options?