From 77faead4e948f901fa6ca9951f085bbe045bae68 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Mon, 7 Nov 2016 15:43:13 -0500 Subject: Updated vis library to 4.17 and also linked to only graph2d-timeline CSS and JS --- www/lib/vis/docs/data/dataset.html | 8 +- www/lib/vis/docs/graph2d/index.html | 2 +- www/lib/vis/docs/graph3d/index.html | 13 ++- www/lib/vis/docs/network/edges.html | 14 ++- www/lib/vis/docs/network/index.html | 108 ++++++++++++++++++----- www/lib/vis/docs/timeline/index.html | 162 ++++++++++++++++++++++++++++------- 6 files changed, 244 insertions(+), 63 deletions(-) (limited to 'www/lib/vis/docs') diff --git a/www/lib/vis/docs/data/dataset.html b/www/lib/vis/docs/data/dataset.html index 3f90ead4..af0f2b4d 100644 --- a/www/lib/vis/docs/data/dataset.html +++ b/www/lib/vis/docs/data/dataset.html @@ -598,9 +598,11 @@ function (event, properties, senderId) { update, and remove, properties is always an object containing a property items, which contains an array with the ids of the affected - items. The update event has an extra field oldData - containing the original data of the updated items, and a field data - containing the changes: the properties of the items that are being updated. + items. The update and remove events have an extra + field oldData containing the original data of the items in the + dataset before the items were updated or removed. The update + event also contains a field data containing the changes: + the properties of the items that are being updated. diff --git a/www/lib/vis/docs/graph2d/index.html b/www/lib/vis/docs/graph2d/index.html index ed062202..8f07e20a 100644 --- a/www/lib/vis/docs/graph2d/index.html +++ b/www/lib/vis/docs/graph2d/index.html @@ -1202,7 +1202,7 @@ function (option, path) { on(event, callback) none - Create an event listener. The callback function is invoked every time the event is triggered. Avialable events: rangechange, rangechanged, select. The callback function is invoked as callback(properties), where properties is an object containing event specific properties. See section Events for more information. + Create an event listener. The callback function is invoked every time the event is triggered. Available events: rangechange, rangechanged, select. The callback function is invoked as callback(properties), where properties is an object containing event specific properties. See section Events for more information. diff --git a/www/lib/vis/docs/graph3d/index.html b/www/lib/vis/docs/graph3d/index.html index c0e604a7..429e2a98 100644 --- a/www/lib/vis/docs/graph3d/index.html +++ b/www/lib/vis/docs/graph3d/index.html @@ -435,6 +435,14 @@ var options = { when drawn in perspective. + + showLegend + boolean + none + If true, a legend is drawn for the graph (if the graph type supports it). + By default a legend is drawn for dot and dot-color style graphs. + + showShadow boolean @@ -466,7 +474,8 @@ var options = { The contents of the tooltip can be customized by providing a callback function as tooltip. In this case the function is called with an object containing parameters x, - y, and z argument, + y, z, and data + (the source JS object for the point) as an argument, and must return a string which may contain HTML. @@ -796,4 +805,4 @@ graph3d.on('cameraPositionChange', onCameraPositionChange); - \ No newline at end of file + diff --git a/www/lib/vis/docs/network/edges.html b/www/lib/vis/docs/network/edges.html index 42c132ac..423f9a45 100644 --- a/www/lib/vis/docs/network/edges.html +++ b/www/lib/vis/docs/network/edges.html @@ -115,9 +115,9 @@ var options = { edges:{ arrows: { - to: {enabled: false, scaleFactor:1}, - middle: {enabled: false, scaleFactor:1}, - from: {enabled: false, scaleFactor:1} + to: {enabled: false, scaleFactor:1, type:'arrow'}, + middle: {enabled: false, scaleFactor:1, type:'arrow'}, + from: {enabled: false, scaleFactor:1, type:'arrow'} }, arrowStrikethrough: true, color: { @@ -243,6 +243,12 @@ network.setOptions(options); 1 The scale factor allows you to change the size of the arrowhead. + + arrows.to.type + String + arrow + The type of endpoint. Default is arrow. Also possible is circle. + arrows.middle Object or Boolean @@ -703,4 +709,4 @@ var options: { - \ No newline at end of file + diff --git a/www/lib/vis/docs/network/index.html b/www/lib/vis/docs/network/index.html index bd7d7c3c..cfd03d64 100644 --- a/www/lib/vis/docs/network/index.html +++ b/www/lib/vis/docs/network/index.html @@ -210,7 +210,20 @@