marbl / MetagenomeScope

Visualization tool for (meta)genome assembly graphs
https://marbl.github.io/MetagenomeScope/
GNU General Public License v3.0
24 stars 8 forks source link

Prevent long node labels from extending past pattern boundaries #220

Open fedarko opened 2 years ago

fedarko commented 2 years ago

The resulting extended pattern boundaries can look strange and overlap each other.

If Cytoscape.js isn't flexible on this, an alternate solution to this might just be truncating displayed node labels once they get long enough (can do this manually, by replacing the label with the first N characters and then ...).

image