コード例 #1
0
 internal TwoLayerFlatEdgeRouter(SugiyamaLayoutSettings settings, Routing routing, int[] bottomLayer, int[] topLayer)
 {
     this.settings = settings;
     this.topLayer = topLayer;
     this.bottomLayer = bottomLayer;
     this.routing = routing;
     InitLabelsInfo();
 }
コード例 #2
0
        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
        }
コード例 #3
0
 internal FlatEdgeRouter(SugiyamaLayoutSettings settings, Routing routing)
 {
     this.settings = settings;
     this.routing = routing;
 }
コード例 #4
0
 internal FlatEdgeRouter(SugiyamaLayoutSettings settings, Routing routing)
 {
     this.settings = settings;
     this.routing  = routing;
 }