SemBioProcess / SemGen

A tool for semantics-based annotation and composition of biosimulation models
18 stars 3 forks source link

"Select Node Inputs" doesn't seem to do anything when viewing a PhysioMap #261

Closed maxneal closed 6 years ago

maxneal commented 6 years ago

The "Select Node Inputs" context menu item works as expected for Dependency maps but doesn't seem to do anything for PhysioMaps. When you select this item, any node that has an arrow directed towards the selected node should become highlighted/selected.

You can use the CV model to reproduce. View the PhysioMap, select the "Portion of blood in Cavity of right ventricle" node, right click and hit "Select Node Inputs." The "Blood flow through tricuspid valve" node should be selected/highlighted but it is not.

thompsct commented 6 years ago

Fixed.

maxneal commented 6 years ago

This works if you have a physical process node selected and then hit "Select node inputs" but it doesn't do anything if you perform the same action on a physical entity node.

If there is an arrow from process A to entity B and you "Select node inputs" for entity B, then process A should be selected. Clicking this menu item should highlight any nodes with an arrow to the node you've right-clicked on.

thompsct commented 6 years ago

Oop, fixed this.