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
To clarify for onlookers, this function takes a path represented as a list of vertices and returns the correponding list of edges.
In principle this would make sense, but as you noticed the current implementation only works for the Edge type and not for any edgetype. The trouble is that some edgetypes might require more than source and destination within the constructors (we ran into this in #116)
Locally I very often use the following function to convert Vectors of Integers to Vector of Edges.
As a result it ends up being defined in many local packages.
Do you think it would make sense to have something similar in Graphs.jl ?
Of course it would be nice to probably change the signature to be functional for any
E<:AbstractEdge
type.I was also thinking about dispatching the
Base.convert
function, but maybe we don't want any automatic conversion to take place. What do you think ?The text was updated successfully, but these errors were encountered: