public override object Clone() { WeightedBiGraph wb = new WeightedBiGraph(); this.CopyTo( wb ); return wb; }
public static void SetDefaultEventHandlers( WeightedBiGraph graph ) { BiGraph.SetDefaultEventHandlers(graph); graph.OnAddEdge += new EventHandler<EdgesModifiedEventArgs>(graph.WeightedBiGraph_OnAddEdge); }