Hi! I was trying to create a graph similar to this: https://echarts.apache.org/examples/en/editor.html?c=graph-simple, where the user passes X and Y coordinates for the nodes. But, it seems that e_graph() does not have this feature. Looks like it does not render anything when layout = "none". After some poking around, it seemed like there was no way to pass X and Y coordinates, so I tried to implement it by updating the e_graph_nodes functions and the associated . helpers from utils.R.
With this update, a user can now set fixed node positions with a call like:
Hi! I was trying to create a graph similar to this: https://echarts.apache.org/examples/en/editor.html?c=graph-simple, where the user passes X and Y coordinates for the nodes. But, it seems that
e_graph()
does not have this feature. Looks like it does not render anything whenlayout = "none"
. After some poking around, it seemed like there was no way to pass X and Y coordinates, so I tried to implement it by updating thee_graph_nodes
functions and the associated.
helpers fromutils.R
.With this update, a user can now set fixed node positions with a call like: