summaryrefslogtreecommitdiffstats
path: root/src/dot.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2000-07-23 15:31:35 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2000-07-23 15:31:35 (GMT)
commit422c14b6f19d70c78762ea571031f142acf9a972 (patch)
tree191fcbf13137ceda80267e217af7556d5a1f194e /src/dot.cpp
parent686cb8df0c558cdfe8b0b9a48355566391daf073 (diff)
downloadDoxygen-422c14b6f19d70c78762ea571031f142acf9a972.zip
Doxygen-422c14b6f19d70c78762ea571031f142acf9a972.tar.gz
Doxygen-422c14b6f19d70c78762ea571031f142acf9a972.tar.bz2
Release-1.2.0
Diffstat (limited to 'src/dot.cpp')
-rw-r--r--src/dot.cpp21
1 files changed, 18 insertions, 3 deletions
diff --git a/src/dot.cpp b/src/dot.cpp
index 37d06f1..02a0b07 100644
--- a/src/dot.cpp
+++ b/src/dot.cpp
@@ -1104,7 +1104,20 @@ void DotClassGraph::writeGraph(QTextStream &out,
return;
}
out << "<p><center><img src=\"" << baseName << ".gif\" border=\"0\" usemap=\"#"
- << m_startNode->m_label << "_" << mapName << "\"></center>" << endl;
+ << m_startNode->m_label << "_" << mapName << "\" alt=\"";
+ switch (m_graphType)
+ {
+ case Implementation:
+ out << "Collaboration graph";
+ break;
+ case Interface:
+ out << "Interface dependency graph";
+ break;
+ case Inheritance:
+ out << "Inheritance graph";
+ break;
+ }
+ out << "\"></center>" << endl;
out << "<map name=\"" << m_startNode->m_label << "_" << mapName << "\">" << endl;
convertMapFile(out,baseName+".map");
out << "</map><p>" << endl;
@@ -1140,7 +1153,7 @@ void DotClassGraph::writeGraph(QTextStream &out,
"\\end{center}\n"
"\\end{figure}\n";
}
- //thisDir.remove(baseName+".dot");
+ thisDir.remove(baseName+".dot");
QDir::setCurrent(oldDir);
}
@@ -1280,7 +1293,9 @@ void DotInclDepGraph::writeGraph(QTextStream &out,
}
out << "<p><center><img src=\"" << baseName << ".gif\" border=\"0\" usemap=\"#"
- << mapName << "_map\">";
+ << mapName << "_map\" alt=\"";
+ if (m_inverse) out << "Included by dependency graph"; else out << "Include dependency graph";
+ out << "\">";
out << "</center>" << endl;
out << "<map name=\"" << mapName << "_map\">" << endl;
convertMapFile(out,baseName+".map");