Misaosama opened a new issue, #18060: URL: https://github.com/apache/echarts/issues/18060
### Version 5.4.0 ### Link to Minimal Reproduction https://jsfiddle.net/plainheart/e46ozpqj/7/ ### Steps to Reproduce If the source node a goes to target nodes b and c. The behavior is not expected because the width of edge with negative value is 0. +--------------------+ | a: 100 --> b: 150 | | --> c: -50 | +-------------------+ My option is `option = { tooltip: { trigger: 'item', triggerOn: 'mousemove', }, slient: true, series: { slient: true, type: 'sankey', layout: 'none', emphasis: { focus: 'adjacency' }, label: { formatter: (params) => { return params.name + ': ' + params.value } }, tooltip: { trigger: 'item', triggerOn: 'mousemove' }, selectedMode: true, data: [ { name: 'a', value: 100, depth: 1, itemStyle: { color: 'blue' } }, { name: 'b', value: 150, depth: 2, itemStyle: { color: 'green' } }, { name: 'c', value: -50, depth: 2, itemStyle: { color: 'red' } }, ], links: [ { source: 'a', target: 'b', value:150, lineStyle: { color: 'green', opacity: 0.4 } }, { source: 'a', target: 'c', value: -50, lineStyle: { color: 'red', opacity: 0.4 } }, ] } };` ### Current Behavior <img width="895" alt="Screen Shot 2022-12-13 at 11 33 30 AM" src="https://user-images.githubusercontent.com/42242012/207403888-9d6f1765-4989-41da-ad34-1e1946aeb69c.png"> ### Expected Behavior <img width="163" alt="Screen Shot 2022-12-13 at 11 34 28 AM" src="https://user-images.githubusercontent.com/42242012/207404070-8071625e-6676-4b46-94c5-48ea865b8b3c.png"> The expected behavior should be like this. The "Operating Loss" means negative value. ### Environment ```markdown - OS: - Browser: - Framework: ``` ### Any additional comments? _No response_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
