Ejemplo n.º 1
0
 static void AssignEdgesToLevels(LgData lgData, IZoomLevelCalculator nodeZoomLevelCalculator)
 {
     foreach (int nodeCountOnLevel in nodeZoomLevelCalculator.LevelNodeCounts)
     {
         EdgePicker.SetEdgeInfosZoomLevelsAndIcreaseRanks(lgData, nodeZoomLevelCalculator, nodeCountOnLevel);
     }
 }
        internal static void SetEdgeInfosZoomLevelsAndIcreaseRanks(LgData lgData,
                                                                   IZoomLevelCalculator nodeZoomLevelCalculator,
                                                                   int nodeCountOnLevel)
        {
            var edgePicker = new EdgePicker(lgData, nodeZoomLevelCalculator, nodeCountOnLevel);

            edgePicker.Run();
        }
 internal static void SetEdgeInfosZoomLevelsAndIcreaseRanks(LgData lgData,
                                             IZoomLevelCalculator nodeZoomLevelCalculator,
                                             int nodeCountOnLevel) {
     var edgePicker = new EdgePicker(lgData, nodeZoomLevelCalculator, nodeCountOnLevel);
     edgePicker.Run();
 }