public override void Add(IFeature feature) { NetworkHelper.AddChannelToHydroNetwork(Network, (IBranch)feature); // TODO: didn't we just set the nodes and order of this branch, why call OnBranchAdded here?! branchNodeTopology.Branches = Network.Branches; branchNodeTopology.Nodes = Network.Nodes; branchNodeTopology.Layer = Layer; branchNodeTopology.OnBranchAdded((IBranch)SourceFeature); }