public Graph(TreeNodeData treeNode) { IGraph graph = GraphHelper.Convert(treeNode); _paths = graph.Paths; _severity = graph.Severity; _maxRelations = graph.MaxRelations; }
public Graph(ReportQueryResult query) { IGraph graph = GraphHelper.Convert(query); _paths = graph.Paths; _severity = graph.Severity; _maxRelations = graph.MaxRelations; }
public Graph(ReportQueryItemResult queryItem) { _paths = new List <GraphPath>(); _paths.Add((GraphPath)GraphHelper.Convert(queryItem, 0)); _severity = queryItem.Query.Severity; }