public LargeGraphRenderer() { this.visitedGraph = null; this.positions = new VertexPointFDictionary(); this.edgeVisible = true; this.edgeRenderer = new QuickGraph.Algorithms.Layout.EdgeRenderer(); this.vertexVisible = true; this.vertexRenderer = new QuickGraph.Algorithms.Layout.VertexRenderer(); this.layoutSize = new Size(800, 600); }
public LargeGraphRenderer(IVertexAndEdgeListGraph visitedGraph) { this.visitedGraph = null; this.positions = new VertexPointFDictionary(); this.edgeVisible = true; this.edgeRenderer = new QuickGraph.Algorithms.Layout.EdgeRenderer(); this.vertexVisible = true; this.vertexRenderer = new QuickGraph.Algorithms.Layout.VertexRenderer(); this.layoutSize = new Size(800, 600); if (visitedGraph == null) { throw new ArgumentNullException("visitedGraph"); } this.visitedGraph = visitedGraph; }