0👍
✅
import Viz from 'viz.js';
import workerURL from 'file-loader!viz.js/full.render.js';
var viz = new Viz({ workerURL });
viz.renderSVGElement('digraph { a -> b; }')
.then(function (element) {
document.body.appendChild(element);
});
Reference: https://github.com/mdaines/viz.js/issues/160
0👍
These packages might help, their aim is to adopt Vis to Vue:
Source:stackexchange.com