-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update to d3-graphviz@5, d3-selection@3 and d3-transition@3 and adapt…
… to new @hpcc-js/wasm@2 interface Run 'npm install --legacy-peer-deps d3-graphviz@5 d3-selection@3 d3-transition@3' and adapt to new @hpcc-js/wasm v2 interface.
- Loading branch information
Showing
10 changed files
with
21,913 additions
and
32,934 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
#! /usr/bin/env node | ||
|
||
import hpccWasm from "@hpcc-js/wasm"; | ||
import { Graphviz } from "@hpcc-js/wasm/graphviz"; | ||
|
||
const graphvizVersion = await hpccWasm.graphvizVersion(); | ||
const graphviz = await Graphviz.load(); | ||
const graphvizVersion = graphviz.version(); | ||
|
||
console.log(`const graphvizVersion = "${graphvizVersion}";`); | ||
console.log('export {graphvizVersion};'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.