mirror of
https://github.com/UnickSoft/graphonline.git
synced 2026-06-17 06:11:37 +00:00
Fix algorithm sort.
This commit is contained in:
@@ -1141,7 +1141,7 @@ Application.prototype.getAlgorithmNames = function()
|
|||||||
}
|
}
|
||||||
|
|
||||||
res.sort(function (a, b) {
|
res.sort(function (a, b) {
|
||||||
return a.priority > b.priority;
|
return a.priority - b.priority;
|
||||||
});
|
});
|
||||||
|
|
||||||
return res;
|
return res;
|
||||||
|
|||||||
@@ -212,7 +212,7 @@ RadiusAndDiameter.prototype.getObjectSelectedGroup = function(object)
|
|||||||
|
|
||||||
RadiusAndDiameter.prototype.getPriority = function()
|
RadiusAndDiameter.prototype.getPriority = function()
|
||||||
{
|
{
|
||||||
return -8.5;
|
return -9.6;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Factory for connected components.
|
// Factory for connected components.
|
||||||
|
|||||||
Reference in New Issue
Block a user