nodeview: started core node filtering work
This commit is contained in:
@@ -219,17 +219,11 @@ void NodeViewScene::AddEdge(NodeEdgePtr edge)
|
||||
|
||||
addItem(edge_ui);
|
||||
edge_map_.insert(edge.get(), edge_ui);
|
||||
|
||||
// FIXME: Not optimal, fairly brute force/shotgun approach to positioning
|
||||
ReorganizeFrom(static_cast<Sequence*>(graph_)->viewer_output());
|
||||
}
|
||||
|
||||
void NodeViewScene::RemoveEdge(NodeEdgePtr edge)
|
||||
{
|
||||
delete edge_map_.take(edge.get());
|
||||
|
||||
// FIXME: Not optimal, fairly brute force/shotgun approach to positioning
|
||||
ReorganizeFrom(static_cast<Sequence*>(graph_)->viewer_output());
|
||||
}
|
||||
|
||||
int NodeViewScene::DetermineWeight(Node *n)
|
||||
@@ -290,11 +284,6 @@ void NodeViewScene::ReorganizeFrom(Node* n)
|
||||
}
|
||||
}
|
||||
|
||||
void NodeViewScene::SetFilterMode(const NodeViewScene::FilterMode &f)
|
||||
{
|
||||
filter_mode_ = f;
|
||||
}
|
||||
|
||||
bool NodeViewScene::GetEdgesAreCurved() const
|
||||
{
|
||||
return curved_edges_;
|
||||
|
||||
Reference in New Issue
Block a user