We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
There is no option to trim node labels. This causes some overlap issues for long EC and GO names.
example:
In the previous treeview I added the following piece of code to trim the nodes:
nodeEnter.append("text") .attr("x", function (d) { return isLeaf(d) ? -10 : 10; }) .attr("dy", ".35em") .attr("text-anchor", function (d) { return isLeaf(d) ? "end" : "start"; }) .text(function (d) { return d.name.length > 33 && (d._children || d.children) ? d.name.substring(0,30).trim()+"..." : d.name; }) .style("font", "10px sans-serif") .style("fill-opacity", 1e-6);
Original issue by calmalak on Mon Jun 27 2016 at 17:34. Closed by @bmesuere on Mon Jun 27 2016 at 17:57.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
There is no option to trim node labels. This causes some overlap issues for long EC and GO names.
example:
![screen shot 2016-06-27 at 17 32 08](https://camo.githubusercontent.com/c15c26bba387eb7ea0a5a60302f26db3f8dc2d771ad37551034cf7b60ea848bc/68747470733a2f2f6769746875622e7567656e742e62652f73746f726167652f757365722f313632362f66696c65732f32363863363361362d336338642d313165362d383231372d333535303737373664376436)
In the previous treeview I added the following piece of code to trim the nodes:
Original issue by calmalak on Mon Jun 27 2016 at 17:34.
Closed by @bmesuere on Mon Jun 27 2016 at 17:57.
The text was updated successfully, but these errors were encountered: