Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Use <br/> instead of \n. For some reason, the latter apparently stopped working (both in the mermaid live editor and on github) -- before \n would cause a linebreak, but now it just causes the literal text \n to show up in the flowchart (which is funny, but not what I want here...) See https://stackoverflow.com/q/51366763 for some discussion on this -- including an answer from 2022 where someone says that \n works! - The newer version of mermaid introduced a bug where nodes with long labels just straight-up don't have the label show up anymore: mermaid-js/mermaid#5785 This impacted the "strainFlye call p-mutation" and "strainFlye call r-mutation" nodes. This will probably be fixed eventually on mermaid/github's side, but for now the workaround is just manually adding linebreaks to those node names. Sidenote about that github issue link above: it includes a pointer to PLukas2018/diffkemp@6aae129, where someone else fixed the exact two problems above. this indicates that these issues are due to the mermaid version update.
- Loading branch information