Commit 78b45776 authored by SOLIMAN Sylvain's avatar SOLIMAN Sylvain

agedge creates a new edge, but agset uses the old one...

parent 753116a2
......@@ -131,7 +131,7 @@ create_cgraph(Id, Graph) :-
get_attribute(EdgeId, sign='±')
->
agset(GraphvizEdge, color, 'green4'),
atom_concat(EdgeName, '__neg', EdgeName2),
format(atom(EdgeName2), '~w-<~w', [VertexA, VertexB]),
agedge(Graph, NodeA, NodeB, EdgeName2, true, GraphvizEdge2),
agset(GraphvizEdge2, arrowhead, 'tee'),
agset(GraphvizEdge2, color, 'red')
......
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