public EdgeData WithData(IEdgeData data) { EdgeData result = Clone(); result.data = data; return(result); }
internal EdgeData(double weight, bool initialized, Color color, IEdgeData data) { this.weight = weight; this.initialized = initialized; this.color = color; this.data = data; }