sdboyer / gogl

A graph library in Go
MIT License
77 stars 13 forks source link

Restrict PropertyGraph to only being Directed? #14

Closed sdboyer closed 10 years ago

sdboyer commented 10 years ago

the conventional definition (there, and some other more application-oriented places) of property graphs seems to have them being directed. BGL does not seem to agree, but still.

i've just converted DataGraph into PropertyGraph, but if there is actually a more domain-specific definition for PropertyGraph, then perhaps that merits a first-class interface. if so, though, then DataGraph probably needs to come back, as there is a legit use case for a datagraph-style thing that's undirected, and just has arbitrary data on edges.

sdboyer commented 10 years ago

yeah, closed this out b/c we need both the general type of a DataGraph, and PropertyGraph can become its own thing later.