Hi, Do you mean the demo at https://echarts.apache.org/examples/zh/editor.html?c=sankey-nodeAlign-left ? Can you be more specific about how it's not vertically centered? Maybe by providing an image to illustrate.
You need to clone https://github.com/apache/echarts-examples to run it locally but maybe you don't have to. You may provide the above image before you do so. I'm not sure about what's wrong so I can't answer the other questions. Thanks *Ovilia* On Sat, Jan 10, 2026 at 3:25 AM Manahil Afzal <[email protected]> wrote: > Hello Ovilia, > > I am testing the left-aligned Sankey chart and noticed that the *leftmost > nodes are not vertically centered* in the container. I tried opening > sankey.html locally, but the chart rendering I see in the HTML file does > not match the screenshots in the issue . > > I have a few questions: > > 1. > > Which file or example should I use to properly reproduce the issue — > sankey.html, another demo, or a specific example in the repository? > 2. > > When testing locally, are there specific build steps or dependencies I > should include to see the exact layout behavior? > 3. > > For vertically centering left-aligned nodes, would it be correct to > apply a vertical offset in initializeNodeDepth() or is there another > preferred method? > > I am happy to provide a small reproduction if it helps clarify the problem. > > Thank you for Time! >
