helgasoft commented on issue #20494: URL: https://github.com/apache/echarts/issues/20494#issuecomment-2467117532
agree, documentation is incomplete. [series-graph.links.source](https://echarts.apache.org/en/option.html#series-graph.links.source) says - _A string representing the name of source node on edge. Can also be a number representing the node index._ But node _name_ does not work if node _id_ is present, [Demo](https://echarts.apache.org/examples/en/editor.html?c=graph-simple&code=PYBwLglsB2AEC8sDeAoWtJgDYFMBcya6GOAHmAQOQBCAhgM4QDGsA4gE60gAWlRAvgBoiYYMCyQQBJEKK1oEALa1IMACIBXTqugBVEABMV-WAEYArAAZLw9PKUqo0AKIMI0AOb6jYE5QCOGu6QTACS0ADyGmCUtrD0OOwQOPQEANpE6KjExGAAniB-Hpw8sZnEWLR5wNFU0DA4ZTno9HmKAEbiAMoQAF4mVnE57MC0igRg7Bo4QxW07ThY0uU59NzAAO4TUzgrsLLNsDgGHjhdbZ1LsGmUTBDsTLixsJS07CMblAC6s-jHp-cOt0-iY0gAWQRmSw_Pb_HAAGXmi2Wh3QADMYGAev0CAAmSx7A7NHy0dJ7LLk4jQMZ-AByNLMTVR6FIBAAzNZfs08uzrJSiYdsszYNTFHSGbjngB6KUQAx4Si46AGJnM1mwAAcnMp6B5sA5BOZAuaQuZovFYv1zzlVDlbNVqPV5kGOtgetMfKNXIpwpFNKo9MtYIdhydLt9eqshtR_D2MMOMtgWHcAGtUtd481k9A02TmabUfQag8TDZXWA3qcKGZvcRWkCsNjQeZIfjM8zKgsrkh4usthgdvta-hs2d8rgUb7YBs5WBuAQW670EwtAA3HDQFLpywAOlxrtjXspBcORa0TAtOFgkuHGErOGrlEDV9MIazSO7vc222mQ9do66ccTBPVEV3YddN3obc9wPflaxA1ZiwvAMGVfW8K3YKsUMte04OPV0zxLbCrxvct70fO1nldGUMKwl5nytSFYETAxgBSEVgDAadgHYFNYAgNF-IMWAQHYFINzAf8P2kL9-0mX9jRyRTiAQuskMva83xyWiH2I2Bgzw_MCPUvS 0LIzDdPohkDKNOMuQAoDJ0OUBaDufICF3ABOWsZwMOc8VrMCIK3DzCXKQ9YC-FB-AAbiAA) -- 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]
