MSAGL Support
Added new tech tree layout implementation using Microsoft Automatic Graph Layouts Added some functionality to the database editor tools
This commit is contained in:
parent
d1492eb04c
commit
01a956eef6
1110 changed files with 119054 additions and 151 deletions
|
|
@ -0,0 +1,35 @@
|
|||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Microsoft.Msagl.Core.Layout;
|
||||
|
||||
namespace Microsoft.Msagl.Layout.LargeGraphLayout {
|
||||
internal class SimpleEdgeCollection : EdgeCollection {
|
||||
readonly List<Edge> edges;
|
||||
|
||||
public SimpleEdgeCollection(IEnumerable<Edge> collectionEdges) : base(null) {
|
||||
edges = collectionEdges as List<Edge>??
|
||||
collectionEdges.ToList();
|
||||
}
|
||||
public override IEnumerator<Edge> GetEnumerator() {
|
||||
return edges.GetEnumerator();
|
||||
}
|
||||
|
||||
public override int Count {
|
||||
get { return edges.Count; }
|
||||
}
|
||||
|
||||
public override void Add(Edge item) {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public override void Clear() {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public override bool Remove(Edge item) {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue