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

Label internal nodes #56

Open
stephenshank opened this issue Dec 19, 2017 · 2 comments
Open

Label internal nodes #56

stephenshank opened this issue Dec 19, 2017 · 2 comments
Assignees
Milestone

Comments

@stephenshank
Copy link
Contributor

Add option to display internal node labels.

@gaurav
Copy link
Contributor

gaurav commented Apr 5, 2018

This could be implemented by providing a custom node styler. I think you could modify the following line to check the setting and to apply this internal node styler before applying the custom node styler:

phylotree.js/phylotree.js

Lines 2337 to 2341 in bfb49ba

if (node_styler) {
nodes.each(function(d) {
node_styler(d3.select(this), d);
});
}

If you'd like me to try to write that into a pull request, let me know!

@stevenweaver
Copy link
Member

stevenweaver commented May 2, 2019

Dear @gaurav,

Apologies for the late response, but thank you for your contribution.

Best,
Steven

@stevenweaver stevenweaver reopened this May 2, 2019
@stevenweaver stevenweaver added this to the 1.0.0 milestone May 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants