GraphRecipes.jl
GraphRecipes.jl copied to clipboard
[BUG] last unconnected vertices not drawn
I noticed a strange behavior while ploting a graph.
using LightGraphs, Plots, GraphRecipes # LightGraphs v1.3.5, Plots v1.10.6, GraphRecipes v0.5.4
g = SimpleGraph(7)
add_edge!(g, 2, 3)
add_edge!(g, 3, 4)
graphplot(g)

-> Draw 4 vertices only, not seven. One vertex is unconnected (# 1), vertices 2, 3, and 4 are connected.
add_edge!(g, 6, 7)
graphplot(g)

-> all edges are drawn, including # 1 and # 5 that are unconnected.
Is this the expected behavior of graphplot ?