Added new tech tree layout implementation using Microsoft Automatic Graph Layouts Added some functionality to the database editor tools
14 lines
No EOL
400 B
C#
14 lines
No EOL
400 B
C#
using Microsoft.Msagl.Core.Geometry;
|
|
|
|
namespace Microsoft.Msagl.Routing.Visibility {
|
|
internal abstract class SegmentBase {
|
|
abstract internal Point Start { get; }
|
|
abstract internal Point End { get; }
|
|
internal Point Direction { get { return End - Start; } }
|
|
#if DEBUG
|
|
public override string ToString() {
|
|
return Start + " " + End;
|
|
}
|
|
#endif
|
|
}
|
|
} |