Add support for multigraphs in PGFrames

Open
#72 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
data

Research direction

Start by tracing PGFrames' edge dataframe handling and how its index is defined for source and target nodes. The work is complete when multiple edges between the same node pair can be represented using an edge identifier while retaining their distinct properties.

Written by the indexing model from the issue text.

Description

enhancement

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

Dominant language
Python
Stars
34
Forks
5
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from BlueBrain/BlueGraph

All issues in BlueBrain/BlueGraph

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.