I suggest adding additional user-selectable graph layout options to the existing default approach.
Graphs are notoriously hard to layout in a way that best exposes the essence of the graph. Giving users a simple way to flick through these would be very useful (and fun!).
Cytoscape.js is an open source js general purpose graphing engine with multiple layout options e.g.
For reference: An open source obsidian plugin doing something similar: