Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,16 @@ jobs:

strategy:
matrix:
node-version: [20.x, 18.x]
node-version: [20.x, 22.x, 24.x]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build --if-present
- run: npm run build
- run: npm test
# The built library in headless Chrome (the runner's own; WebGL through SwiftShader)
- run: npm run test:browser
6 changes: 2 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
*.pyc
*.swp
*.launch
.DS_Store
node_modules
dist
.DS_Store
npm-debug.log
21 changes: 0 additions & 21 deletions .jshintrc

This file was deleted.

119 changes: 0 additions & 119 deletions CHANGELOG

This file was deleted.

21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# 1.0.0-alpha.0 (2026-11-22)

On npm as `vivagraphjs@next`.

A rewrite. VivaGraph is now a small front door to
[ngraph.forcelayout](https://github.com/anvaka/ngraph.forcelayout) and its add-on modules:

* `Viva.render(graph)` draws a graph in one call: pivot start, force layout (on WebGPU for big
graphs when the device has a real GPU), WebGL drawing, labels, hover, drag, select, tooltips,
search and keyboard navigation. The layout stops when it has settled.
* The parts are exported for pages that put them together themselves.
* Builds: `dist/vivagraph.js` and `dist/vivagraph.min.js` (script tag, global `Viva`) and
`dist/vivagraph.module.js` (ES module; the WebGPU runner is a second file, loaded on demand).

Breaking: nothing of the 0.x API is kept. `Viva.Graph.*`, the SVG renderer, custom node and link
elements, custom WebGL shaders and the constant layout are gone. The README has a table of what
maps to what. 0.x stays on the `0.x` branch and on npm as `vivagraphjs@0`.

# 0.12 and earlier

See [CHANGELOG on the 0.x branch](https://github.com/anvaka/VivaGraphJS/blob/0.x/CHANGELOG).
Loading
Loading