anvaka / anvaka/VivaGraphJS

Cannot render graph

Open
#247 2 comments 2 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
3.9k
Forks
418
PR merge metrics
No merged PRs in 30d

Description

I have just found this library, but I cannot get to render a simple graph from the readme example. I am not using any web framework. Here is my code:
`







var graph = Viva.Graph.graph();
graph.addLink(1, 2);
var graphics = Viva.Graph.View.svgGraphics();
var renderer = Viva.Graph.View.renderer(graph, {
graphics : graphics
});
renderer.run();


`

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the README example using the provided HTML and dist/vivagraph.min.js; inspect Viva.Graph.graph(), svgGraphics(), and renderer.run(). Done means the simple graph renders in a non-framework page.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data-visualization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.