move labels on neighbor view
This commit is contained in:
@@ -83,8 +83,10 @@ $.getJSON('[% uri_for('/ajax/data/device/netmap') %]?[% my_query %]', function(m
|
|||||||
.nodeEventToStopPinMode('none')
|
.nodeEventToStopPinMode('none')
|
||||||
.showLinkDirection(false)
|
.showLinkDirection(false)
|
||||||
.colorScheme('color20')
|
.colorScheme('color20')
|
||||||
// .preventLabelOverlappingOnForceEnd(true)
|
.preventLabelOverlappingOnForceEnd(
|
||||||
// .zoomToFitOnForceEnd(true)
|
(mapdata['v3']['newnodes'] && ('[% params.mapshow %]' == 'neighbors'))
|
||||||
|
? true : false
|
||||||
|
)
|
||||||
.width( parseInt(jQuery('#netmap_pane').parent().css('width')) )
|
.width( parseInt(jQuery('#netmap_pane').parent().css('width')) )
|
||||||
.height( window.innerHeight - 100 )
|
.height( window.innerHeight - 100 )
|
||||||
.showSelfLinks(true)
|
.showSelfLinks(true)
|
||||||
|
|||||||
Reference in New Issue
Block a user