diff --git a/docs/dataset.html b/docs/dataset.html index b6590ff2..1847a3b1 100644 --- a/docs/dataset.html +++ b/docs/dataset.html @@ -3,7 +3,6 @@ vis.js | DataSet documentation - diff --git a/docs/dataview.html b/docs/dataview.html index e637a2e0..bb459d9c 100644 --- a/docs/dataview.html +++ b/docs/dataview.html @@ -3,7 +3,6 @@ vis.js | DataView documentation - diff --git a/docs/index.html b/docs/index.html index fbd7bd60..4e1f8215 100644 --- a/docs/index.html +++ b/docs/index.html @@ -3,7 +3,6 @@ vis.js | documentation - diff --git a/docs/timeline.html b/docs/timeline.html index 2b0fb2e1..4bdd9ee7 100644 --- a/docs/timeline.html +++ b/docs/timeline.html @@ -141,9 +141,7 @@ var items = [ start: new Date(2010, 7, 15), end: new Date(2010, 8, 2), // end is optional content: 'Trajectory A' - // Optional: a field 'group' - // Optional: a field 'className' - // Optional: a field 'editable' + // Optional: fields 'id', 'type', 'group', 'className' } // more items... ]); diff --git a/examples/graph/17_network_info.html b/examples/graph/17_network_info.html new file mode 100644 index 00000000..ebec84f8 --- /dev/null +++ b/examples/graph/17_network_info.html @@ -0,0 +1,156 @@ + + + + Graph | Images + + + + + + + + + + +
+ + + + \ No newline at end of file diff --git a/examples/graph/index.html b/examples/graph/index.html new file mode 100644 index 00000000..0fd44cfb --- /dev/null +++ b/examples/graph/index.html @@ -0,0 +1,36 @@ + + + + + vis.js | graph examples + + + + + +
+ +

vis.js graph examples

+ +

01_basic_usage.html

+

02_random_nodes.html

+

03_images.html

+

04_shapes.html

+

05_social_network.html

+

06_groups.html

+

07_selections.html

+

08_mobile_friendly.html

+

09_sizing.html

+

10_multiline_text.html

+

11_custom_style.html

+

12_scalable_images.html

+

13_dashed_lines.html

+

14_dot_language.html

+

15_dot_language_playground.html

+

16_dynamic_data.html

+

17_network_info.html

+

graphviz_gallery.html

+ +
+ + \ No newline at end of file diff --git a/examples/index.html b/examples/index.html new file mode 100644 index 00000000..cbac149d --- /dev/null +++ b/examples/index.html @@ -0,0 +1,20 @@ + + + + + vis.js | examples + + + + + +
+ +

vis.js examples

+ +

graph

+

timeline

+ +
+ + \ No newline at end of file diff --git a/examples/timeline/index.html b/examples/timeline/index.html new file mode 100644 index 00000000..937d5dab --- /dev/null +++ b/examples/timeline/index.html @@ -0,0 +1,23 @@ + + + + + vis.js | timeline examples + + + + + +
+ +

vis.js timeline examples

+ +

01_basic.html

+

02_dataset.html

+

03_much_data.html

+

04_html_data.html

+

05_groups.html

+ +
+ + \ No newline at end of file diff --git a/src/timeline/component/ItemSet.js b/src/timeline/component/ItemSet.js index 6e816032..5e643108 100644 --- a/src/timeline/component/ItemSet.js +++ b/src/timeline/component/ItemSet.js @@ -192,9 +192,9 @@ ItemSet.prototype.repaint = function repaint() { itemsData = this.itemsData, items = this.items, dataOptions = { - fields: [(itemsData && itemsData.fieldId || 'id'), 'start', 'end', 'content', 'type'] + // TODO: cleanup + //fields: [(itemsData && itemsData.fieldId || 'id'), 'start', 'end', 'content', 'type'] }; - // TODO: copy options from the itemset itself? // show/hide added/changed/removed items Object.keys(queue).forEach(function (id) {