mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 07:44:35 +02:00
Working in the arrows.
This commit is contained in:
parent
fafe3b4eae
commit
dff1b8593c
@ -319,10 +319,7 @@ MapController.prototype.get_edges_from_node = function(id_graph) {
|
|||||||
MapController.prototype.update_edges_from_clean_arrows = function(clean_arrows) {
|
MapController.prototype.update_edges_from_clean_arrows = function(clean_arrows) {
|
||||||
newEdges = [];
|
newEdges = [];
|
||||||
clean_arrows.forEach(function(arrow, index) {
|
clean_arrows.forEach(function(arrow, index) {
|
||||||
newEdges[index] = [];
|
newEdges[index] = arrow;
|
||||||
newEdges[index]['from'] = arrow['from']['graph_id'];
|
|
||||||
newEdges[index]['to'] = arrow['to']['graph_id'];
|
|
||||||
newEdges[index]['graph_id'] = arrow['graph_id'];
|
|
||||||
});
|
});
|
||||||
edges = newEdges;
|
edges = newEdges;
|
||||||
}
|
}
|
||||||
@ -2436,7 +2433,6 @@ MapController.prototype.editNode = function(self, target) {
|
|||||||
closeOnEscape: true
|
closeOnEscape: true
|
||||||
});
|
});
|
||||||
$("#edit_node_dialog_" + node_id).dialog("open");
|
$("#edit_node_dialog_" + node_id).dialog("open");
|
||||||
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user