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