private static string GetShape(GraphNode node)
 {
     if(node.IsTest)
     {
         return "shape=rectangle,style=\"filled\", fillcolor=yellow";
     }
     if(node.IsRootNode)
     {
         return "shape=rectangle,style=\"filled\" ,fillcolor=green";
     }
     if (node.IsInterface)
     {
         return "shape=rectangle,style=\"filled\",fillcolor=lightblue";
     }
     return "shape=rectangle";
 }
 private static string GetGroup(GraphNode node)
 {
     if (node.IsTest)
     {
         return "Tests";
     }
     if (node.IsRootNode)
     {
         return "Root";
     }
     if (node.IsInterface)
     {
         return "Interface";
     }
     return "Normal";
 }
 public void SetDataFrom(BinaryReader reader)
 {
     CorrelationId = new Guid(reader.ReadString());        
     var nodes = reader.ReadInt32();
     Nodes = new List<GraphNode>();
     Connections = new List<Connection>();
     for(var i=0;i<nodes;i++)
     {
         var node = new GraphNode
                        {
                            Assembly = reader.ReadString(),
                            DisplayName = reader.ReadString(),
                            FullName = reader.ReadString(),
                            IsInterface = reader.ReadBoolean(),
                            IsRootNode = reader.ReadBoolean(),
                            IsTest = reader.ReadBoolean(),
                            Type = reader.ReadString(),
                            Name = reader.ReadString(),
                            InTestAssembly = reader.ReadBoolean(),
                            IsProfiledTest = reader.ReadBoolean(),
                            Complexity = reader.ReadInt32(),
                            IsChange = reader.ReadBoolean()
                        };
         Nodes.Add(node);    
     }
     var connections = reader.ReadInt32();
     for(var i=0;i<connections;i++)
     {
         var connection = new Connection
                              {
                                  From = reader.ReadString(),
                                  To = reader.ReadString()
                              };
         Connections.Add(connection);
     }
 }