Open mojoaxel opened 4 years ago
It looks like all examples that have a DataSet passed in as the source data are broken.
This is consistent with what I'm seeing when I try to update to the latest visjs.
The code is pretty basic, where it's doing something like this:
var items = [ <generated items> ... ];
var dataset = new vis.DataSet(items);
var graph = new vis.Graph2d(container, dataset, options);
Note that passing the items in directly works.
Am I using it incorrectly, or did the API change?
A lot of the examples for Graph2D are broken at this point in time. Take a look at the web site, most examples are blank:
https://visjs.github.io/vis-timeline/examples/graph2d/
I'm also having issues with using DataSet for Graph2D. Array seems to work.
The graph2d examples are non functional:
https://visjs.github.io/vis-timeline/examples/graph2d/05_bothAxis.html