TheEvergreenStateCollege / bioinformatics

Plant genome sequencing
2 stars 2 forks source link

Crowded suffix tree rendering #43

Open learner-long-life opened 1 month ago

learner-long-life commented 1 month ago

More descriptions are needed from @AbyssalRemark and @pointmeathesky on this.

image
AbyssalRemark commented 1 month ago

image The og visualizer does this and with the test baaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaadluck which I find a good demo of issues.

as you can see its already going off the screen and has a few more splits.

pointmeathesky commented 1 month ago

image

learner-long-life commented 1 month ago

A lot of these above look like they can be suffix-linked.

learner-long-life commented 1 month ago

Right now @pointmeathesky 's code uses d3.js to render the tree into a fixed size tree, but this causes the crowding mentioned in the issue title.

We can come up with a formula that dynamically makes the tree as tall as it needs to, based on number of nodes, branches, etc.

image

Let's leave the suffix link rendering to another issue.