Reingold-Tilford layout is acting weird sometimes
Bug #1090812 reported by
Tamás Nepusz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
igraph |
Fix Released
|
Medium
|
Unassigned |
Bug Description
E.g., construct a graph out of the attached RelationshipDat
> df <- read.csv(
> gdf <- graph.data.
> gdf <- gdf - c("NA")
> l <- layout.
This seems to happen in the 64-bit version of R only, although the layout does not make sense in Python or C either because the layout function assumes that the edges are oriented downwards and here the tree is oriented towards the root (upwards). I guess that it boils down in the end to uninitialized variables, so a quick run through Valgrind will probably reveal where the problem is.
Changed in igraph: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Another way to reproduce it:
> g <- barabasi.game(10) reingold. tilford( g)
> l <- layout.
If it works, use more nodes (e.g., 100).