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