protected override void OnDeserialize(System.Runtime.Serialization.IFormatter formatter, System.Runtime.Serialization.SurrogateSelector selector)
        {
            FlowchartSerialize surrogate = new FlowchartSerialize();

            selector.AddSurrogate(typeof(Flowchart), new StreamingContext(StreamingContextStates.All), surrogate);
            base.OnDeserialize(formatter, selector);
        }
        protected override void OnDeserializeComplete(object graph, IFormatter formatter, SurrogateSelector selector)
        {
            FlowchartSerialize surrogate = (FlowchartSerialize)Serialization.Serialize.GetSurrogate(graph, selector);
            Flowchart          flowchart = (Flowchart)graph;

            //Apply surrogate settings
            SuspendEvents = true;
            Suspend();

            Resume();
            SuspendEvents = false;

            base.OnDeserializeComplete(graph, formatter, selector);
        }