using System.Collections.Generic; namespace MoonTools.Core.Graph { public interface IGraph { IEnumerable Nodes { get; } void AddNode(TNode node); void AddNodes(params TNode[] nodes); bool Exists(TNode node); IEnumerable Neighbors(TNode node); void Clear(); } }