Disable preventLabelOverlappingOnForceEnd on network neighbor map

This commit is contained in:
Oliver Gorwits
2018-01-05 14:59:16 +00:00
parent 0f81a9368d
commit 842a22badf
2 changed files with 8 additions and 4 deletions

View File

@@ -1,5 +1,9 @@
2.038004 - 2018-01-05
[ENHANCEMENTS]
* Disable preventLabelOverlappingOnForceEnd on network neighbor map
[BUG FIXES]
* Fix favicon image path to work on non-apex installations

View File

@@ -21,10 +21,10 @@ $.getJSON('[% uri_for('/ajax/data/device/netmap') %]?[% my_query %]', function(m
[% '.showLegend(false)' IF NOT params.colorgroups %]
.showLinkDirection(false)
.colorScheme('color10')
.preventLabelOverlappingOnForceEnd(
(mapdata['newnodes'] && ('[% params.mapshow %]' == 'neighbors'))
? true : false
)
//.preventLabelOverlappingOnForceEnd(
// (mapdata['newnodes'] && ('[% params.mapshow %]' == 'neighbors'))
// ? true : false
//)
.nodeEventToStopPinMode('none')
.showTooltips(true)
.tooltipPosition('svgTopLeft')