anvaka / anvaka/ngraph

Lazily add edges

Open
#37 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
1.5k
Forks
130
PR merge metrics
No merged PRs in 30d

Description

When an edge is added, non-existing nodes are added automatically.

However, sometimes the edges of a node are added while the other nodes, including those to be connected, haven't been added yet. Therefore it would be very helpful if those edges were added without creating non-existing nodes.
Even better: An event is emitted when those yet non-existing nodes are queries, so they can be dynamically added (e.g. by network request).

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the existing edge-addition API and its tests to understand how missing nodes are currently created. Clarify whether deferred edges should remain pending and how an event would expose queried nodes. Done means edges can be added without creating missing nodes, with a defined mechanism for dynamically supplying those nodes.

Written by the indexing model from the issue text.

Assessment

Domain
data
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.