sillsdev / cog

Cog is a tool for comparing languages using lexicostatistics and comparative linguistics techniques.
http://sillsdev.github.io/cog/
MIT License
22 stars 10 forks source link

If a variety name is too long, then the dendrogram is laid out incorrectly #101

Closed ddaspit closed 11 months ago

ddaspit commented 11 months ago

Currently, the dendrogram layout uses a total width that is a proportion of the computed height. It does not take into account the width of the variety name labels. If a variety name is too long, then the total width is too small, which causes issues when rendering the graph.