auspice
auspice copied to clipboard
Increase weight and change color of transmission lines
Transmission lines are thin and light, what makes it difficult to see when printed in a paper
Would it be possible to customize weight and color of transmission lines?
Thank you,
Leonardo
Should be possible. Currently, weight/color/opacity are hardcoded:
https://github.com/nextstrain/auspice/blob/0728ceca060f3c3681113bf7f903f3bc81630ad3/src/components/map/mapHelpers.js#L164-L167
The solution would be to surface these somewhere in view settings.
I'd like to try doing this, but we'll discuss further at the next issue triage session.
The line thickness is matched to the Bezier curve logic so that lines don't overlap when there are multiple transmission events. This is how the arcs in https://next.nextstrain.org/ebola looks nicely solid.
For one off experiments for printing, I'd suggest running Auspice dev locally and just modifying the stroke-width
parameter that @victorlin points to here.