internal TwoLayerFlatEdgeRouter(SugiyamaLayoutSettings settings, Routing routing, int[] bottomLayer, int[] topLayer) { this.settings = settings; this.topLayer = topLayer; this.bottomLayer = bottomLayer; this.routing = routing; InitLabelsInfo(); }
void CalculateEdgeSplines() { #if REPORTING if (sugiyamaSettings.Reporting) Report("calculating splines ... "); #endif var routing = new Routing(sugiyamaSettings, originalGraph, database, engineLayerArrays, properLayeredGraph, IntGraph); #if REPORTING Timer t = null; if (sugiyamaSettings.Reporting) { t = new Timer(); t.Start(); } #endif routing.Run(); #if REPORTING if (sugiyamaSettings.Reporting) { t.Stop(); Report(String.Format(CultureInfo.CurrentCulture, " {0}\n", t.Duration)); } #endif }
internal FlatEdgeRouter(SugiyamaLayoutSettings settings, Routing routing) { this.settings = settings; this.routing = routing; }