Skip to content

View cycles#78

Open
bobvh wants to merge 5 commits intomainfrom
view-cycles
Open

View cycles#78
bobvh wants to merge 5 commits intomainfrom
view-cycles

Conversation

@bobvh
Copy link
Copy Markdown
Member

@bobvh bobvh commented Mar 11, 2026

My take on how cycles can be addressed in the viewer (both for circular DNA and convoluted GFAs from genome assemblies).

To help with testing it includes snapshots on the DNA level too, corresponding to the existing tests, and it's easy to add more. These are all part of the views folder, so when that gets broken out, the snapshot tests come along.

The way GFA import cycle breaking works in different cases is something to be discussed, but out of scope here.

I squashed into logical commits. One of them hits a lot of files because I had to change the ownership model of GraphController at one point. There may still be some outstanding viewer chores to go, but this PR should not impede that.

bobvh added 5 commits March 11, 2026 13:30
effect a reversal. The additional nodes are called 'loopback nodes' and
they serve to make the layout engine exit the original source node on the right and enter the original target node on the left.
@bobvh bobvh requested review from Chris7 and removed request for Chris7 March 11, 2026 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant