anvaka / anvaka/ngraph.pixel

Adding node and link after render

Open
#11 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
345
Forks
50
PR merge metrics
No merged PRs in 30d

Description

Is that possible to adding nodes and links to graph after renderGraph function?

How can i do that?

```
var graph = require('ngraph.graph')();
graph.addLink(1, 2);

var renderGraph = require('ngraph.pixel');
var renderer = renderGraph(graph);

//this is not working
graph.addLink(2, 3);
```

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no repository files or tests. Start by reproducing the snippet around renderGraph, renderer, and graph.addLink; done means links added after the initial render are displayed by the renderer.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, three.js
Domain
computer-graphics
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.