diff --git a/core/graphviz_api.php b/core/graphviz_api.php old mode 100755 new mode 100644 diff --git a/core/relationship_graph_api.php b/core/relationship_graph_api.php index 706ca30cc1..6c3b9b0baf 100644 --- a/core/relationship_graph_api.php +++ b/core/relationship_graph_api.php @@ -463,12 +463,16 @@ function relgraph_output_image( $p_graph ) { $p_graph->output( 'png', true ); } -# Outputs an image map in HTML form (too bad dot didn't output XHTML...) -# for the given relationship graph, previously generated by -# relgraph_generate_graph_for_bug(). +/** + * Outputs an image map in XHTML format using the element for the given + * relationship graph. + * @param Graph $p_graph Relationship graph object generated from relgraph_generate_graph_for_bug() + * @param string $p_name The XHTML name attribute to apply to the containing element + * @return null + */ function relgraph_output_map( $p_graph, $p_name ) { echo '' . "\n"; - $p_graph->output( 'cmap' ); + $p_graph->output( 'cmapx' ); echo '' . "\n"; }