Fixed arrows AA in the module groups networkmap.

This commit is contained in:
mdtrooper 2016-04-15 15:08:54 +02:00
parent 3d61418519
commit 9c1c3ace5c
1 changed files with 21 additions and 17 deletions

View File

@ -707,6 +707,7 @@ function networkmap_generate_dot ($pandora_name, $group = 0,
}
}
// Define edges for the module interfaces relations
// Get the remote_snmp_proc relations
$relations = modules_get_relations();
@ -740,7 +741,9 @@ function networkmap_generate_dot ($pandora_name, $group = 0,
$id_networkmap);
}
}
// Relation into agents
elseif ($module_a_type == 6 && $module_b_type == 6) {
if ($l2_network_or_mixed !== 'mix_l2_l3') {
if (isset($node_ref[$agent_a]) &&
isset($node_ref[$agent_b])) {
$graph .= networkmap_create_edge(
@ -759,6 +762,7 @@ function networkmap_generate_dot ($pandora_name, $group = 0,
'topology',
$id_networkmap);
}
}
}
elseif ($module_a_type == 6 && $module_b_type == 18) {