Make the generation of diamond shapes compatible with GraphViz 2.27.

(Contributed by Soraya Santana de la Fe.)
This commit is contained in:
Diomidis Spinellis 2010-11-27 14:07:46 +00:00
parent 1ebaea9eb0
commit d7384d7c0f
2 changed files with 6 additions and 2 deletions

View File

@ -4,6 +4,10 @@
<dl>
<dt>Version 5.4 Under development </dt><dd>
<ul>
<li>Make the generation of diamond shapes compatible with GraphViz 2.27.
(Contributed by Soraya Santana de la Fe.)</li>
</ul>
</dd>
<dt>Version 5.3 2010-05-24</dt><dd>

View File

@ -73,8 +73,8 @@ class ClassGraph {
static {
associationMap.put(RelationType.ASSOC, "arrowhead=none");
associationMap.put(RelationType.NAVASSOC, "arrowhead=open");
associationMap.put(RelationType.HAS, "arrowhead=none, arrowtail=ediamond");
associationMap.put(RelationType.COMPOSED, "arrowhead=none, arrowtail=diamond");
associationMap.put(RelationType.HAS, "arrowhead=none, arrowtail=ediamond, dir=both");
associationMap.put(RelationType.COMPOSED, "arrowhead=none, arrowtail=diamond, dir=both");
associationMap.put(RelationType.DEPEND, "arrowhead=open, style=dashed");
}
protected Map<String, ClassInfo> classnames = new HashMap<String, ClassInfo>();