Thanks to <@U03SLE7RBAS>, it took me 2 days but m...
# metro-maps
k
Thanks to @Jonathan Manning, it took me 2 days but manage to get something really cool with nf-metro 🎉 https://github.com/nf-core/variantbenchmarking/blob/2d6cff0b0ccbdae28e8c0aca489c30751e47fbec/docs/images/variantbenchmarking.svg
❤️ 1
j
looks quite modified from the code, but nice! Stations could be closer together in some sections, nf-metro should be better at 'flipping' labels now so you get above/ below alternation. nf-metro should also be a lot better at 'folding', very wide layouts like that to something more like this. Did you see the native support for file icons (link) Please file issues for bug fixes or feature requests 🙂. Just include specifics like the mmds!
k
I couldn't manage to get the folding properly 😕 yeap I used inkscape at the end to add file icons. Would you like to check out my mmd file?
j
If you file an issue on the GitHub repo with the mmd and describe what problems you're having and how you want it to look, I'll do my best to sort it out (though I may be busy for a few days)
k
sounds good! I will do that 🙂 thank you
j
I did a bit of work to make the first parts nicer: https://github.com/pinin4fjords/nf-metro/pull/157 You're using this a bit differently to how I imagined (e.g. paths by phases rather than tracks all the way through), which means a few tweaks!
k
I will employ those changes seems nice! but actual benchmarking part is missing in the example 😆
j
Yeah, as I said, it was just the first parts. I'll work across the whole thing progressively, I want to make the folding work so it fits better on a single page, so the next part is harder!
k
meanwhile I am also exploring 🙂 thank you!
one more request is on my head, is it possible to have such listed nodes? (sometimes the branches gets way too long)
j
we can probably extend the multiline labels functionality we added recently, but it's going to be a bit challenging layout-wise. Please add individual issues for things like this, or I'll forget 🙂
k
Sure I will do that 🙂 thanks again for the amazing work! I am having so much fun
j
I make a new release that I think makes a nicer render of this example: https://pinin4fjords.github.io/nf-metro/0.6.1/guide/#7-putting-it-all-together
party parrot 1