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

Add support for multigraphs in PGFrames #72

Open
eugeniashurko opened this issue May 19, 2021 · 0 comments
Open

Add support for multigraphs in PGFrames #72

eugeniashurko opened this issue May 19, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@eugeniashurko
Copy link
Contributor

eugeniashurko commented May 19, 2021

Currently, only one edge between a pair of nodes in allowed. For some use cases, it would be useful to support multiedges. For example:

Alice and Bob have two relationships, friends and colleagues, with different properties. It could be represented as:

@source_id, @target_id, @edge_id, @type, @since
"Alice", "Bob", 1, "friends", 1999
"Alice", "Bob", 2, "colleagues", 1998

Where the index of the dataframe with edges is given by @source_id, @target_id, @edge_id

@eugeniashurko eugeniashurko added the enhancement New feature or request label May 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant