'; $output .= ''; } if (!$return) echo $output; return $output; } function d3_relationship_graph ($elements, $matrix, $unit, $width = 700, $return = false) { global $config; if (is_array($elements)) $elements = json_encode($elements); if (is_array($matrix)) $matrix = json_encode($matrix); $output = "
"; $output .= include_javascript_d3(true); $output .= ""; if (!$return) echo $output; return $output; } function d3_tree_map_graph ($data, $width = 700, $height = 700, $return = false) { global $config; if (is_array($data)) $data = json_encode($data); $output = ""; $output .= include_javascript_d3(true); $output .= ""; $output .= ""; if (!$return) echo $output; return $output; } function d3_sunburst_graph ($data, $width = 700, $height = 700, $return = false) { global $config; if (is_array($data)) $data = json_encode($data); $output = ""; $output .= include_javascript_d3(true); $output .= ""; $output .= ""; if (!$return) echo $output; return $output; } ?>