You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
requirejs.config({
//By default load any module IDs from js/lib
baseUrl: 'js',
//except, if the module ID starts with "app",
//load it from the js/app directory. paths
//config is relative to the baseUrl, and
//never includes a ".js" extension since
//the paths config could be for a directory.
paths: {
d3: '/bower_components/d3/d3',
"dot-checker": '/bower_components/graphviz-d3-renderer/dist/dot-checker',
"layout-worker": '/bower_components/graphviz-d3-renderer/dist/layout-worker',
worker: '/bower_components/requirejs-web-workers/src/worker',
renderer: '/bower_components/graphviz-d3-renderer/dist/renderer',
}
});
require(["renderer"],
function (renderer) {
dotSource = 'digraph xyz { a -> b }';
// initialize svg stage
renderer.init("#graph");
// update stage with new dot source
renderer.render(dotSource);
});
The text was updated successfully, but these errors were encountered:
If you are submitting such bug remember to provide steps to reproduce which in that case should cover browser kind and version as well as operating system. To keep it short - it works on my environment.
Sorry to trouble you with newbie questions all the time. Really appreciate your help.
I get the above error message when testing this:
magjac-testing-graphviz-d3-renderer.html:
main.js:
The text was updated successfully, but these errors were encountered: