Beispiel #1
0
        /// <note>
        ///     Raises an edgeRemoved event.
        /// </note>
        public void RemoveEdge(IEdge edge)
        {
            var edgeToRemove = edge;

            if (edge is EventEdge)
            {
                edgeToRemove = (edge as EventEdge).GetBaseEdge();
            }

            var props = edge.GetProperties();

            BaseGraph.RemoveEdge(edgeToRemove);
            OnEdgeRemoved(edge, props);
        }