Author:   Lars Michelsen <[email protected]>
Date:     Mon Aug 19 11:59:46 2013 +0200
Committer:   Lars Michelsen <[email protected]>
Commit-Date: Mon Aug 19 11:59:46 2013 +0200

Slightly layout improvement of automaps in undirected mode

---

 ChangeLog                                 |    1 +
 share/server/core/sources/automap_pos.php |    5 +++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 70a6033..575f4b6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -8,6 +8,7 @@ Frontend:
 Automap:
   * Labels have now a white background to improve the text readability
   * Labels should not overlap on automaps with many hosts anymore
+  * Slightly layout improvement of automaps in undirected mode
   * FIX: Rendering lines on zoomed automaps correctly
   * FIX: Fixed positions of labels on zoomed automaps
 
diff --git a/share/server/core/sources/automap_pos.php 
b/share/server/core/sources/automap_pos.php
index 4329286..c733409 100644
--- a/share/server/core/sources/automap_pos.php
+++ b/share/server/core/sources/automap_pos.php
@@ -141,12 +141,13 @@ function graphviz_config(&$params, &$tree) {
     // default margin is 0.11,0.055
     $str .= 'margin="0.0,0.0", ';
     $str .= 'shape="rect", ';
-    $str .= 'fixedsize="true", ';
+    // Do not use this as this would make the nodes ignore the label sizes
+    //$str .= 'fixedsize="true", ';
     $str .= 'color="white", ';
     // This may be altered by the single objects depending on the icon size
     $str .= 'width="'.graphviz_px2inch(16).'", ';
     $str .= 'height="'.graphviz_px2inch(16).'", ';
-    $str .= 'fontcolor=black, fontsize=10';
+    $str .= 'fontsize=10';
     $str .= '];'."\n";
 
     // Create nodes for all hosts


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to