Example #1
0
        public Graph(TreeNodeData treeNode)
        {
            IGraph graph = GraphHelper.Convert(treeNode);

            _paths        = graph.Paths;
            _severity     = graph.Severity;
            _maxRelations = graph.MaxRelations;
        }
Example #2
0
        public Graph(ReportQueryResult query)
        {
            IGraph graph = GraphHelper.Convert(query);

            _paths        = graph.Paths;
            _severity     = graph.Severity;
            _maxRelations = graph.MaxRelations;
        }
Example #3
0
 public Graph(ReportQueryItemResult queryItem)
 {
     _paths = new List <GraphPath>();
     _paths.Add((GraphPath)GraphHelper.Convert(queryItem, 0));
     _severity = queryItem.Query.Severity;
 }