Open
Description
Describe the bug
Sugiyama layout seems to have more coordinates than vertices, with the top ones being the actual good coords.
To reproduce
import random; import igraph as ig
random.seed(0)
g = ig.Graph.Erdos_Renyi(n=15, m=30, directed=False, loops=False)
g.to_directed(mode="acyclic")
g.vcount() -> 15
len(g.layout("sugiyama")) -> 35
This is from our own example ;-)
Not sure why this happens and how on Earth we did not notice before. I suspect our plotting infra has some filtering on singletons or some unwanted magic that hides this issue.
Unsure whether this would be C core or python interface.
Version information
0.11.8 from pip.
Metadata
Metadata
Assignees
Labels
No labels