Last change
on this file since 13371 was
4068,
checked in by swagner, 14 years ago
|
Sorted usings and removed unused usings in entire solution (#1094)
|
File size:
879 bytes
|
Line | |
---|
1 |
|
---|
2 | namespace Netron.Diagramming.Core.Analysis {
|
---|
3 | /// <summary>
|
---|
4 | /// Describes a connection from the point of view of graph analysis.
|
---|
5 | /// </summary>
|
---|
6 | public interface IEdge {
|
---|
7 | /// <summary>
|
---|
8 | /// Indicates if this edge is directed or undirected.
|
---|
9 | /// </summary>
|
---|
10 | bool IsDirected { get; set; }
|
---|
11 | /// <summary>
|
---|
12 | /// Returns the first, or source, node upon which this Edge is incident.
|
---|
13 | /// </summary>
|
---|
14 | INode SourceNode { get; }
|
---|
15 | /// <summary>
|
---|
16 | /// Returns the second, or target, node upon which this Edge is incident.
|
---|
17 | /// </summary>
|
---|
18 | INode TargetNode { get; }
|
---|
19 | /// <summary>
|
---|
20 | /// Given a Node upon which this Edge is incident, the opposite incident
|
---|
21 | /// Node is returned. Throws an exception if the input node is not incident
|
---|
22 | /// on this Edge.
|
---|
23 | /// </summary>
|
---|
24 | INode AdjacentNode(INode node);
|
---|
25 | }
|
---|
26 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.