From: noreply@... Date: 2005-11-29T07:29:28+09:00 Subject: [ ruby-Bugs-2895 ] [PATCH] rdoc generates duplicate diagrams Bugs item #2895, was opened at 2005-11-28 23:19 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1698&aid=2895&group_id=426 Category: Standard Library Group: None Status: Open Resolution: None Priority: 3 Submitted By: Lucas Nussbaum (lucas) Assigned to: Nobody (None) Summary: [PATCH] rdoc generates duplicate diagrams Initial Comment: Diagrams generated by rdoc often use a lot of disk space. One of the reasons is that rdoc generates a lot of very similar diagrams : only the label (the filename, or the module name) changes. This simple patch adds a "diagram cache" to rdoc's diagram.rb. It checks if the same graph has already been generated in convert_to_png(). To make this possible: - the patch removes the "label" from the graph - the patch removes the "alt" attribute of the tag in the generated HTML. Can this patch be integrated into rdoc ? ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1698&aid=2895&group_id=426