ui: Count by connected sub node for non-indexed bundles

This commit is contained in:
Eberhard Graether
2017-02-14 10:45:56 +01:00
parent 1520b8bfbf
commit bd17bd3573
2 changed files with 28 additions and 3 deletions
@@ -84,7 +84,8 @@ private:
void bundleNodes();
void bundleNodesAndEdgesMatching(
std::function<bool(const DummyNode::BundleInfo&, const Node*)> matcher, size_t count, const std::string& name);
std::function<bool(const DummyNode::BundleInfo&, const Node*)> matcher, size_t count, bool countConnectedNodes,
const std::string& name);
std::shared_ptr<DummyNode> bundleNodesMatching(
std::list<std::shared_ptr<DummyNode>>& nodes, std::function<bool(const DummyNode*)> matcher, const std::string& name);
void bundleByType(std::list<std::shared_ptr<DummyNode>>& nodes, Node::NodeType type, const std::string& name);