prismaliser icon indicating copy to clipboard operation
prismaliser copied to clipboard

feature: auto formatting

Open MariannaKrzewinska opened this issue 2 years ago • 0 comments

In response to #33

Summary:

  1. Added elkjs to create a directed graph using layered ELK algorithm
  2. Increased zoom out to 0.05 to be able to better locate & navigate large, dispersed graph.
  3. Added control icon to disperse the nodes Screenshot 2022-09-07 at 18 54 16 Screenshot 2022-09-07 at 18 55 19

Points for improvement:

  • the layout is hard set - if we move a node it'll get moved back once we change the schema. It would be great to keep the position set by the user and use the ELK compiled graph as a base but it would probably require reworking of how the nodes are stored - not sure how yet

Took me long enough to open this PR 😅 Let me know what you think about this feature!

MariannaKrzewinska avatar Sep 07 '22 17:09 MariannaKrzewinska