minor fix orphans while no pandora node
Former-commit-id: 5c21ffec17ba10d77921961c6c813b116449d3a0
This commit is contained in:
parent
4947d2117a
commit
0d301cd8ed
|
@ -2002,6 +2002,9 @@ class NetworkMap
|
|||
);
|
||||
}
|
||||
|
||||
if (isset($this->noPandoraNode) === false
|
||||
|| $this->noPandoraNode == false
|
||||
) {
|
||||
// Add missed edges.
|
||||
foreach ($orphans as $rel) {
|
||||
$graph .= $this->createDotEdge(
|
||||
|
@ -2014,6 +2017,7 @@ class NetworkMap
|
|||
|
||||
// Store relationships.
|
||||
$this->relations = array_merge($edges, $orphans);
|
||||
}
|
||||
|
||||
// Close dot file.
|
||||
$graph .= $this->closeDotFile();
|
||||
|
|
Loading…
Reference in New Issue