You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I really like GraphRecipes for plotting smaller electric networks. However, when the number of vertices increases the graphs get unreadable. This could easily be fixed if I could change the distance between the vertices. I have been looking a lot, but not figured out to do this. I was therefore wondering if anyone knows how to change the distance between the vertices?
Cheers Sigurd
The text was updated successfully, but these errors were encountered:
The formatter tries to make the vertices as far apart as possible. You can change the method used with the method keyword argument, which may give a better layout for your graph. Other than that the two levers that I tend to use are the nodesize and the size of the plot, which gives the formatter more room to work with.
using Plots
using GraphRecipes
using LightGraphs
g =watts_strogatz(800,2,0.01)
Hi,
I really like GraphRecipes for plotting smaller electric networks. However, when the number of vertices increases the graphs get unreadable. This could easily be fixed if I could change the distance between the vertices. I have been looking a lot, but not figured out to do this. I was therefore wondering if anyone knows how to change the distance between the vertices?
Cheers Sigurd
The text was updated successfully, but these errors were encountered: