newt icon indicating copy to clipboard operation
newt copied to clipboard

Hidden neighbor bug on load

Open ugurdogrusoz opened this issue 7 years ago • 2 comments

When you upload the attached model, and expand collapsed compound C, it should be the child node A with hidden neighbors not C. new_file.sbgnml.txt

ugurdogrusoz avatar Aug 24 '17 07:08 ugurdogrusoz

@ugurdogrusoz This is not related to saving/loading hidden neighbor. When C is collapsed, it is connected to B with meta-edges. If you hide B, the border of C gets thick (not A). Before you save it, it is node C which has hidden neighbor in its data field. Save/load works as expected.

kinimesi avatar Aug 24 '17 08:08 kinimesi

Looks like the result depends on the order of operations. Changing the node with hidden neighbors is required on collapse, which is tricky. Let's leave it for later.

ugurdogrusoz avatar Aug 24 '17 20:08 ugurdogrusoz