Add ability to annotate (color) nodes in a viewGraph.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30686 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jim Laskey
2006-10-02 12:26:53 +00:00
parent 39d78d623a
commit ec20402c90
5 changed files with 94 additions and 5 deletions

View File

@ -112,7 +112,7 @@ struct DOTGraphTraits<const DSGraph*> : public DefaultDOTGraphTraits {
return getCaption(Node, Graph);
}
static std::string getNodeAttributes(const DSNode *N) {
static std::string getNodeAttributes(const DSNode *N, const DSGraph *Graph) {
return "shape=Mrecord";
}