This website works better with JavaScript.
Home
Explore
Help
Sign In
jrtechs
/
jrtechs-vis
mirror of
https://github.com/jrtechs/vis.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
82
Wiki
Activity
Browse Source
renamed option showNavigationIcons to navigationButtons
flowchartTest
Alex de Mulder
9 years ago
parent
8fe1b70c0a
commit
de9334458b
4 changed files
with
1348 additions
and
1348 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1345
-1345
dist/vis.js
+1
-1
examples/network/20_navigation.html
+1
-1
lib/network/modules/InteractionHandler.js
+1
-1
lib/network/modules/components/NavigationHandler.js
+ 1345
- 1345
dist/vis.js
File diff suppressed because it is too large
View File
+ 1
- 1
examples/network/20_navigation.html
View File
@ -104,7 +104,7 @@
edges: edges
};
var options = {
interaction:{
showNavigationIc
ons: true},
interaction:{
navigationButt
ons: true},
};
network = new vis.Network(container, data, options);
+ 1
- 1
lib/network/modules/InteractionHandler.js
View File
@ -39,7 +39,7 @@ class InteractionHandler {
dragView
:
true
,
zoomView
:
true
,
hoverEnabled
:
false
,
showNavigationIc
ons
:
false
,
navigationButt
ons
:
false
,
tooltip
:
{
delay
:
300
,
fontColor
:
'#000000'
,
+ 1
- 1
lib/network/modules/components/NavigationHandler.js
View File
@ -31,7 +31,7 @@ class NavigationHandler {
}
create
(
)
{
if
(
this
.
options
.
showNavigationIc
ons
===
true
)
{
if
(
this
.
options
.
navigationButt
ons
===
true
)
{
if
(
this
.
iconsCreated
===
false
)
{
this
.
loadNavigationElements
(
)
;
}
Write
Preview
Loading…
Cancel
Save