Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add strandedness to drawing #89

Open
bradfordcondon opened this issue Apr 1, 2019 · 1 comment
Open

add strandedness to drawing #89

bradfordcondon opened this issue Apr 1, 2019 · 1 comment

Comments

@bradfordcondon
Copy link
Contributor

bradfordcondon commented Apr 1, 2019

In short, we would like +/- strand subfeatures to be drawn with a pointed side indicating the strandedness of the feature, like JBrowse does.

https://github.com/statonlab/tripal_manage_analyses/tree/round_directoin_with_d3

I started this but forgot how annoying D3 is.

I have a branch with the g holding hte rect selected. i . think (?) the simplest way to get this is to use clippath to remove the top and bottom of the correct side, but i probably dont have the time i need to make this happen right now.

@bradfordcondon
Copy link
Contributor Author

bradfordcondon commented Apr 1, 2019

oops nevermind, just switch rect to polygon of class arrow. this is tricky though because tehy are drawn as rects so they just have width and hieght and we need to pass all 5 points as parameters

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

No branches or pull requests

1 participant