logic: removed visible edges from aggregation edges in GraphController
This commit is contained in:
@@ -18,12 +18,17 @@ int TokenComponentAggregation::getAggregationCount() const
|
||||
return m_ids.size();
|
||||
}
|
||||
|
||||
const std::set<Id>& TokenComponentAggregation::getAggregationIds() const
|
||||
{
|
||||
return m_ids;
|
||||
}
|
||||
|
||||
void TokenComponentAggregation::addAggregationId(Id id)
|
||||
{
|
||||
m_ids.insert(id);
|
||||
}
|
||||
|
||||
const std::set<Id>& TokenComponentAggregation::getAggregationIds() const
|
||||
void TokenComponentAggregation::removeAggregationId(Id id)
|
||||
{
|
||||
return m_ids;
|
||||
m_ids.erase(id);
|
||||
}
|
||||
|
||||
@@ -17,9 +17,11 @@ public:
|
||||
virtual std::shared_ptr<TokenComponent> copy() const;
|
||||
|
||||
int getAggregationCount() const;
|
||||
void addAggregationId(Id id);
|
||||
const std::set<Id>& getAggregationIds() const;
|
||||
|
||||
void addAggregationId(Id id);
|
||||
void removeAggregationId(Id id);
|
||||
|
||||
private:
|
||||
std::set<Id> m_ids;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user