Added zoom and automatic refresh of dependency graph view.

This commit is contained in:
Eivind Kvedalen
2015-06-14 11:46:18 +02:00
committed by wmayer
parent 1749ff2d5d
commit f99fd100e6
9 changed files with 428 additions and 74 deletions

View File

@@ -200,7 +200,7 @@ void Document::writeDependencyGraphViz(std::ostream &out)
out << "}" << endl;
}
void Document::exportGraphviz(std::ostream& out)
void Document::exportGraphviz(std::ostream& out) const
{
std::vector<std::string> names;
names.reserve(d->objectMap.size());
@@ -1437,6 +1437,8 @@ void Document::recompute()
it->second->purgeTouched();
}
d->vertexMap.clear();
signalRecomputed(*this);
}
const char * Document::getErrorDescription(const App::DocumentObject*Obj) const