             addChild(vis);
             vis.update();
             layout();
-           // updateLayoutFormatText();
+            // updateLayoutFormatText();
             vis.update();
         }
 
-		private function create_toggle_sprite(true_text:String, false_text:String, 
-			true_function:Function, false_function:Function,toggle_start:Boolean):Sprite
-		{
-			var ret:Sprite = new Sprite(); 
-			ret.buttonMode = true;           
-			
-			var toggle_state:Boolean = toggle_start;
-			
-			var _edges_show_text:TextSprite = new TextSprite(true_text, null, TextSprite.DEVICE);
-			
-			_edges_show_text.name = "true_text";
-			
-			var _edges_hide_text:TextSprite = new TextSprite(false_text, null, TextSprite.DEVICE);
-			
-			_edges_hide_text.name = "false_text";
-			
-			var _edges_slash_text:TextSprite = new TextSprite("/", null, TextSprite.DEVICE);
-			ret.mouseChildren = false;
+        private function create_toggle_sprite(true_text:String, false_text:String, true_function:Function, false_function:Function, toggle_start:Boolean):Sprite
+        {
+            var ret:Sprite=new Sprite();
+            ret.buttonMode=true;
+
+            var toggle_state:Boolean=toggle_start;
+
+            var _edges_show_text:TextSprite=new TextSprite(true_text, null, TextSprite.DEVICE);
+
+            _edges_show_text.name="true_text";
+
+            var _edges_hide_text:TextSprite=new TextSprite(false_text, null, TextSprite.DEVICE);
+
+            _edges_hide_text.name="false_text";
+
+            var _edges_slash_text:TextSprite=new TextSprite("/", null, TextSprite.DEVICE);
+            ret.mouseChildren=false;
 
             ret.addChild(_edges_show_text);
             ret.addChild(_edges_slash_text);
             ret.addChild(_edges_hide_text);
-            
-
-			_edges_slash_text.x = _edges_show_text.x + _edges_show_text.width;
-			_edges_hide_text.x = _edges_slash_text.x + _edges_slash_text.width;
-			
-           ret.addEventListener(MouseEvent.CLICK, function(evt:MouseEvent):void
+
+
+            _edges_slash_text.x=_edges_show_text.x + _edges_show_text.width;
+            _edges_hide_text.x=_edges_slash_text.x + _edges_slash_text.width;
+
+            ret.addEventListener(MouseEvent.CLICK, function(evt:MouseEvent):void
                 {
                     toggle_state=!toggle_state;
-                    
+
                     if (toggle_state)
                     {
                         true_function();


                var effective_monitorable_ips:int=o['total_monitorable'];
                var direct_ips:int=o['direct_ips'];
				var percentage_monitorable = o['percent_monitorable'];
                var node_size:Number;

                node_size=1 * Math.log(effective_monitorable_ips) / Math.log(average_ips);

            else if (layout_format == RADIAL_LAYOUT)
            {
                var circle_layout:CircleLayout=new CircleLayout(null, null, true);
                circle_layout.layoutBounds=new Rectangle(0, 0, CIRCLE_LAYOUT_BOUNDS, CIRCLE_LAYOUT_BOUNDS);
                vis.operators.add(circle_layout);
                CircleLayout(vis.operators.last).startRadiusFraction=3 / 5;
                // bundle edges to route along the tree structure
