Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement multigraphs #46

Open
alphajuliet opened this issue Jul 2, 2019 · 1 comment
Open

Implement multigraphs #46

alphajuliet opened this issue Jul 2, 2019 · 1 comment

Comments

@alphajuliet
Copy link

Many useful graphs have multiple edges between vertices, although it can complicate some algorithms. The alternative is to manage multiple edges manually, for example storing a count property on an edge, or a list of named properties that represent each alternative instance of that edge.

See Ubergraph for an implementation example in Clojure that supports multigraphs with both directed and undirected edges.

@stchang
Copy link
Owner

stchang commented Jul 3, 2019

Thanks for the reference. Definitely agree that multigraphs are good to have.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants