diff --git a/HISTORY.md b/HISTORY.md index 87439c92..e2fec779 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -2,7 +2,7 @@ vis.js history http://visjs.org -## not yet released, version 0.5.0 +## 2014-02-20, version 0.5.0 ### Timeline diff --git a/docs/graph.html b/docs/graph.html index e8c402ac..8545a958 100644 --- a/docs/graph.html +++ b/docs/graph.html @@ -1588,39 +1588,16 @@ var options: {

-// simple use of navigation controls
+// use of navigation controls
 var options: {
   navigation: true
 }
 
-// advanced use of navigation controls
-var options: {
-  navigation: {
-    iconPath: '/path/to/navigation/icons/'
-  }
-}
 
- - - - - - - - - - - - - - -
NameTypeDefaultDescription
iconPathstring"/img"The path to the icon images can be defined here. If custom icons are used, they have to have the same filename as the ones originally packaged with vis.js.
-

Keyboard navigation

The graph can be navigated using shortcut keys. - It can be configured with the following user-configurable settings. The default state for the keyboard navigation is off. The predefined keys can be found in the example 20_navigation.html.

diff --git a/src/graph/Graph.js b/src/graph/Graph.js index 32c5377d..f4ac573d 100644 --- a/src/graph/Graph.js +++ b/src/graph/Graph.js @@ -125,8 +125,7 @@ function Graph (container, data, options) { clusterLevelDifference: 2 }, navigation: { - enabled: false, - iconPath: this._getScriptPath() + '/img' + enabled: false }, keyboard: { enabled: false,