fixed save to map to filter by metacode too
This commit is contained in:
parent
b336af1d53
commit
8a9b84c7f3
1 changed files with 5 additions and 0 deletions
|
@ -182,6 +182,11 @@ function saveToMap() {
|
|||
var nodes_data = "", synapses_data = "";
|
||||
var synapses_array = new Array();
|
||||
Mconsole.graph.eachNode(function(n) {
|
||||
//don't add to the map if it was filtered out
|
||||
if (categoryVisible[n.getData('metacode')] == false) {
|
||||
return;
|
||||
}
|
||||
|
||||
var x, y;
|
||||
if (n.pos.x && n.pos.y) {
|
||||
x = n.pos.x;
|
||||
|
|
Loading…
Reference in a new issue