Commit 58cc8b08 authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

draw_hierarchy(): fix problem with undirected graphs

parent a573d13d
......@@ -2006,7 +2006,7 @@ def draw_hierarchy(state, pos=None, layout="radial", beta=0.8, node_weight=None,
eorder.fa.max() + 1)))
u, props = graph_union(g, t, props=props)
u, props = graph_union(GraphView(g, directed=True), t, props=props)
for k in set(list(vprops.keys()) + list(hvprops.keys())):
t_vprops[k] = props.pop(0)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment