neodash
neodash copied to clipboard
Add option to bind node position on 2D graph canvas to (x,y) position. Or (x,y,z) in 3D.
Hi
I would like to display some node and control their location with a X, y coordinate or circular datum...I was wondering if possible to setup neodash with a custom grid in the background in order to control the nodes position?
Thank you
Hi @PatrickF-mbse ,
May not be really easy, but if you display your data on a Map Chart, you can control the position with a property (default 'point') that expects a spatial point value. You can always set a Cartesian x,y on it. So far, not to difficult, the tricky part is the background itself. You may need to provide a valid tile according to your needs. Im not an expert on that, but I have tested tools like gdal2tile with decent results.
Revisiting this feature request for NeoDash 2.5. It would be great to fix node positions both in 2D and 3D.
This should be relatively straightforward using the fx, fy, fz
properties from the library:
https://github.com/vasturiano/d3-force-3d#simulation_nodes
This would probably an advanced setting called Fixed Position Property
which is set to a property key of a Spatial type.