Sankey chart circles "leaking out" from behind bars when bars are very tall #6400
Labels
Status: Triage
Needs to be verified, categorized, etc
Type: Bug / Error
Something isn't working or is incorrect
Description
I'm using sankey charts to illustrate mail campaign effectiveness. My theory is that if a bar is a significant percentage of the chart height but not a significant portion of the chart width, then the circles "leak out" from behind the bars.
Steps to reproduce
Here's an example that shows the circles:
https://mermaid.live/edit#pako:eNpFUctugzAQ_BW0Z4gMGIJ9bLlWlRq1h8oXBxxAwDoypmka5d-7Ia_TemZ3Zh8-QWVrAxKiKFJYWdx1jVQYBIO1vQxajXXp9AEv1KSxN8clS6C1hy89zGaSgXezUbg4XGuirfFakWhj0IelGbof40wdxkykea7wybzvDVLgPCuEwht6Hbqqp5imxYP7xGneTpXrtgQSTib3qg_TdJNf3BLGnnxpUftL09sYL3bGinCec6Lu6DkKSSGE0bhRdzVd5HRZVIFvzWgUSHrW2vUKFJ6pTs_ebo5YgbxsH4Kzc9OC3OlhIjTva-pddrpxenywe43f1o53CUGQJ_gFmXKx4nnG6DgsTzKepiEcQcYiWYmMCVEUYh3zOFufQ_hbHNgqT5hIYp4mlBIkCcHUnbfu7fqfy7ee_wESXZt6
Toggle the "Rough" option (near the upper right) to switch between styles. I believe the style used for the "on" state of this toggle is the purpose of these circles.

And then if we simply remove some of the data that adds states to the right side of the chart (thus allowing the bars to be wider) then the circles become hidden again:
https://mermaid.live/edit#pako:eNpFUMFuwjAM_ZXK5xSlbRpIjhPXaQekHaZcssbQitap0nSMIf59oYxxst_ze9azL9B4h6Ahz3NDjad9d9CGsqz3_qiz1pLbBnuiGzVZOuJ5mSbQ-tO77WecdBbDjIaWDXdN_onRmmTaIUW2xb77woCOFVxVUhp6Mm8jUipC1Bv1J3_xMzWJk1IUhh7oaeGGgMGAYbCdS8kvt0AGYosDGtCpdTYcDRi6Jp2do9-dqQF9S8kg-PnQgt7bfkpoHp2NuO3sIdjhnx0tfXg_PCwJgr7AN-hKqJWQNU9HcFnWoqoYnEEXqlypmiu12ah1IYp6fWXws2zgK1lyVRaiKtNIJQsDdF304fX-9-X911_YxHx8
Setup
The text was updated successfully, but these errors were encountered: