logic: Refactored graph node sorting

* Fixed sorting to always be alphabetical within each bucket
* Bundled nodes will expand in place
* Overview bundles are not sorted alphabetical
* Probably improved sorting performance by using std::set
This commit is contained in:
Eberhard Graether
2016-12-10 12:40:46 +01:00
parent 8bf02140b2
commit 05ad054421
5 changed files with 114 additions and 98 deletions
@@ -93,7 +93,8 @@ private:
void addExpandToggleNode(DummyNode* node) const;
void layoutToGrid(DummyNode* node) const;
void layoutGraph(bool sort = false);
void layoutGraph(bool getSortedNodes = false);
void assignBundleIds();
DummyNode* getDummyGraphNodeById(Id tokenId) const;