|
using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Collections.Generic;
namespace CircularRelationshipGraph.Data
{
public interface INodeList : IList<INode>
{
}
public interface INode
{
/// <summary>
/// Gets the number of instances of this node type
/// </summary>
double Count { get; }
/// <summary>
/// Gets the name of this node
/// </summary>
string Name { get; }
/// <summary>
/// Gets the nodes that this node instance is related to
/// </summary>
List<INodeRelationship> Relationships { get; }
}
public interface INodeRelationship
{
/// <summary>
/// Gets the name of the node which this is a relationship to
/// </summary>
string To { get; }
/// <summary>
/// Gets the strength of this relationship
/// </summary>
double Strength { get; }
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.