fixed synapse created on arranged maps
This commit is contained in:
parent
696d094118
commit
4ab7fe76ca
1 changed files with 5 additions and 1 deletions
|
@ -14,7 +14,11 @@ if (map1 != null) {
|
||||||
mymap = rg;
|
mymap = rg;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mymap == fd || mymap == rg) {
|
else if (map != null) {
|
||||||
|
mymap = map;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (mymap == fd || mymap == rg || mymap = map) {
|
||||||
temp1 = mymap.graph.getNode(<%= @synapse.item1.id %>);
|
temp1 = mymap.graph.getNode(<%= @synapse.item1.id %>);
|
||||||
if (temp1 == null) {
|
if (temp1 == null) {
|
||||||
newnode = <%= @synapse.item1.self_as_json.html_safe %>;
|
newnode = <%= @synapse.item1.self_as_json.html_safe %>;
|
||||||
|
|
Loading…
Reference in a new issue