JuliaGraphs / GraphPlot.jl

Graph visualization for Julia.
http://JuliaGraphs.github.io/GraphPlot.jl/
Other
201 stars 62 forks source link

change node size to fit labels #77

Open stevengj opened 5 years ago

stevengj commented 5 years ago

It would be nice if the node size automatically stretched out to fit the label text. (Also, currently you can only change the node radius, but for this you would want to stretch the node elliptically in one direction.)

For example, consider the following labelled graph: image and compare to the output of GraphViz for similar labels: image (Note also that GraphViz has proper arrowheads.)

hdavid16 commented 2 years ago

How about just moving the label to outside the node? This can currently be done: https://github.com/JuliaGraphs/GraphPlot.jl/issues/161