Commit b51c4f50 authored by dirk.wintergruen's avatar dirk.wintergruen
Browse files

bug in calctop

parent 5bb7ea95
......@@ -1498,10 +1498,10 @@ def calcTop(
if displayAttr2 is not None:
id_attr = (getA(n, displayAttr).strip(),getA(n, displayAttr2))
else:
s_n = ng.vs[n.source()]
s_n = ng.vs[n.source]
s_id = getA(s_n, displayAttr).strip()
t_n = ng.vs[n.target()]
t_n = ng.vs[n.target]
t_id = getA(t_n, displayAttr).strip()
id_attr = f"{s_id}-{t_id}"
......
Markdown is supported
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