Пример #1
0
        /// <summary>
        /// Called when a layout iteration has ended.
        /// </summary>
        /// <param name="args">Event arguments.</param>
        protected virtual void OnIterationEnded([NotNull] ILayoutIterationEventArgs <TVertex> args)
        {
            Debug.Assert(args != null);

            RaiseIterationEnded(args);

            // If the layout should be aborted
            if (args.Abort)
            {
                Abort();
            }
        }
Пример #2
0
 private void kka_IterationEnded(object sender, ILayoutIterationEventArgs<FlockVertex> e)
 {
     Worker.ReportProgress(Convert.ToInt32(Math.Round(e.StatusInPercent * 100)));
 }
Пример #3
0
 internal virtual void RaiseIterationEnded([NotNull] ILayoutIterationEventArgs <TVertex> args)
 {
     IterationEnded?.Invoke(this, args);
 }