Commit 96d55ecb authored by maxchaza's avatar maxchaza

add link bypass

parent 8ffbea2f
......@@ -575,11 +575,12 @@ metExploreD3.GraphStyleEdition = {
});
var selectedNodesId = mapNodes.filter(function (node) {
return node.getBiologicalType() === biologicalType;
if (biologicalType === "link") return node.getBiologicalType() === "reaction";
else return node.getBiologicalType() === biologicalType;
}).map(function (node) {
return node.getId();
});
if(selectedNodesId.length>0){
var selection;
if (biologicalType === "link"){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment