From b127cb81b8cf6339e69ec6302634e66ccdc8c27e Mon Sep 17 00:00:00 2001 From: josdejong Date: Wed, 29 Jan 2014 11:42:44 +0100 Subject: [PATCH] Some more updates in the docs --- docs/graph.html | 43 +++++++++++++++++++++++-------------------- docs/timeline.html | 20 ++++++++++---------- 2 files changed, 33 insertions(+), 30 deletions(-) diff --git a/docs/graph.html b/docs/graph.html index cf12c068..1ce8d7f4 100644 --- a/docs/graph.html +++ b/docs/graph.html @@ -15,7 +15,26 @@

Graph documentation

+

Overview

+

+ Graph is a visualization to display graphs and networks consisting of nodes + and edges. The visualization is easy to use and supports custom shapes, + styles, colors, sizes, images, and more. +

+ +

+ The graph visualization works smooth on any modern browser for up to a + few hundred nodes and edges. +

+ +

+ To get started with Graph, install or download the + vis.js library. +

+ +

Contents

+ -

Overview

-

- Graph is a visualization to display graphs and networks consisting of nodes - and edges. The visualization is easy to use and supports custom shapes, - styles, colors, sizes, images, and more. -

- -

- The graph visualization works smooth on any modern browser for up to a - few hundred nodes and edges. -

- -

- To get started with Graph, install or download the - vis.js library. -

-

Example

Here a basic graph example. Note that unlike the @@ -789,7 +791,7 @@ var options = { color.highlight String | Object Object - Default color of the node when the node is selected. Applied to + Default color of the node when the node is selected. In case of a string, the color is applied to both border and background of the node. @@ -1056,9 +1058,10 @@ var nodes = [ color.highlight - String + String | Object "#D2E5FF" - Color of the node when selected. + Default color of the node when the node is selected. In case of a string, the color is applied to + both border and background of the node. color.highlight.background diff --git a/docs/timeline.html b/docs/timeline.html index c2335c60..93dfc599 100644 --- a/docs/timeline.html +++ b/docs/timeline.html @@ -14,6 +14,16 @@

Timeline documentation

+

Overview

+

+ The Timeline is an interactive visualization chart to visualize data in time. + The data items can take place on a single date, or have a start and end date (a range). + You can freely move and zoom in the timeline by dragging and scrolling in the + Timeline. Items can be created, edited, and deleted in the timeline. + The time scale on the axis is adjusted automatically, and supports scales ranging + from milliseconds to years. +

+

Contents

-

Overview

-

- The Timeline is an interactive visualization chart to visualize data in time. - The data items can take place on a single date, or have a start and end date (a range). - You can freely move and zoom in the timeline by dragging and scrolling in the - Timeline. Items can be created, edited, and deleted in the timeline. - The time scale on the axis is adjusted automatically, and supports scales ranging - from milliseconds to years. -

-

Example

The following code shows how to create a Timeline and provide it with data.