New networkmaps in progress... (Removed weird nodes from graph)

This commit is contained in:
Arturo Gonzalez 2016-10-10 11:42:25 +02:00
parent 16ff172bc3
commit 0b5631663b
1 changed files with 3 additions and 0 deletions

View File

@ -850,6 +850,9 @@ function networkmap_loadfile($id = 0, $file = '',
if (strpos($node_id, "transp_") !== false) {
//removed the transparent nodes
}
else if ($data['text'] == "" && $data['image'] == "" && $data['id_agent'] == 0) {
//removed weird nodes
}
else {
$networkmap_nodes[$node_id] = $data;
}