Open CameronBieganek opened 8 months ago
I like the idea, and from a user perspective it would be closer to the nice NetworkX experience. The only doubt I have is the overhead incurred by carrying empty vertex or edge metadata, but it's probably minor
I think it's worth considering having one
Graph
type that can optionally include weights and metadata for an undirected graph, rather than having separateWeightedGraph
andMetaGraph
types. TheGraph
constructor could have various optional type parameters, so you could create empty graphs like this:Nothing
would be an option for the metadata type parameters, but not for the vertex type and weight type. (Default weight type would probably beFloat64
.)