Some debug traces for the jobmate for the next monday.

This commit is contained in:
mdtrooper 2016-02-12 17:22:44 +01:00
parent 37b0e972b3
commit 9d2c2049cf
3 changed files with 5 additions and 3 deletions

View File

@ -56,7 +56,7 @@ abstract class Map {
$this->id_group = (int)$dbValues['id_group']; $this->id_group = (int)$dbValues['id_group'];
$this->generation_method = (int)$dbValues['generation_method']; $this->generation_method = (int)$dbValues['generation_method'];
$this->width = (int)$dbValues['width']; $this->width = (int)$dbValues['width'];
$this->height = (int)$dbValues['height']; $this->height = (int)$dbValues['height'];
} }

View File

@ -66,7 +66,7 @@ class Networkmap extends Map {
$return = array(); $return = array();
$return['id_group'] = $this->source_group; $return['id_group'] = $this->source_group;
$return['simple'] = 12; // HARD CODED $return['simple'] = 0; // HARD CODED
$return['font_size'] = null; $return['font_size'] = null;
$return['layout'] = null; $return['layout'] = null;
$return['nooverlap'] = false; // HARD CODED $return['nooverlap'] = false; // HARD CODED
@ -161,7 +161,7 @@ class Networkmap extends Map {
$filename_plain, $filename_plain,
$relation_nodes, $graph, $relation_nodes, $graph,
$parameters['l2_network_interfaces']); $parameters['l2_network_interfaces']);
//~ html_debug_print($graph); html_debug_print($graph);
//~ html_debug_print($nodes); //~ html_debug_print($nodes);
//~ html_debug_print($relation_nodes); //~ html_debug_print($relation_nodes);
@ -176,6 +176,7 @@ class Networkmap extends Map {
echo '<img src="'.$src.'">'; echo '<img src="'.$src.'">';
// ----- END DEPRECATED CODE-------------------------------- // ----- END DEPRECATED CODE--------------------------------
$this->nodes[] = array(666);
} }
} }

View File

@ -142,6 +142,7 @@ else {
html_debug(file_get_contents("/tmp/caca.txt"), true); html_debug(file_get_contents("/tmp/caca.txt"), true);
html_debug($graph);
} }
} }