Ejemplo n.º 1
0
        private void dagreToolStripMenuItem_Click(object sender, EventArgs e)
        {
            CurrentLayout = new DagreGraphLayout();
            WaitDialog wd = new WaitDialog();

            drawEnabled = false;
            wd.Init(() =>
            {
                CurrentLayout.GetRenderTextWidth = renderTextWidth;
                CurrentLayout.Layout(Model);
                drawEnabled = true;
            });
            wd.ShowDialog();
            fitAll();
        }
Ejemplo n.º 2
0
 private void simpleToolStripMenuItem_Click(object sender, EventArgs e)
 {
     CurrentLayout = new SimpleGraphLayout();
     CurrentLayout.Layout(Model);
     fitAll();
 }