You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that this is not even a correct way of recording the attribute: the uuid should be the key, not the entire edge object. Consider this:
(def G (ubergraph/add-edges (ubergraph/graph "a" "b") ["a" "b"] ["b" "a"]))
(ubergraph/attrs G "a" "b")
=> {}
(ubergraph/attrs G "b" "a")
=> {}
(ubergraph/attrs (ubergraph/set-attrs G ["a" "b"] {:some :attribute}) "a" "b")
=> {:some :attribute}
(:attrs (ubergraph/set-attrs G ["a" "b"] {:some :attribute}))
=>
{#ubergraph.core.UndirectedEdge{:id #uuid"06d9a4a9-9162-4837-86e1-5e88990e0075", :src "b", :dest "a", :mirror? true} nil,
#uuid"06d9a4a9-9162-4837-86e1-5e88990e0075" {:some :attribute}}
sergeny
changed the title
Bug: a nil edge attribute appears from nowhere when attempting to add parallel edges to a non-multi-undirected graph
Incorrect behavior when attempting to add multiedges to a non-multigraph.
Dec 12, 2015
Bug: a nil edge attribute appears from nowhere when attempting to add parallel edges to a non-multi-undirected graph
The text was updated successfully, but these errors were encountered: