liuttcc commented on issue #10676: Highlight edges through dispatchAction in 
force-layout graph
URL: 
https://github.com/apache/incubator-echarts/issues/10676#issuecomment-503788252
 
 
   Hi, I have read the document as well as the source code. First, the node 
dataIndex and the edge dataIndex were counted separately. In the code 
view/Chart.js, I find
   ```
   highlight: function (seriesModel, ecModel, api, payload) {
           console.log(seriesModel)
           toggleHighlight(seriesModel.getData(), payload, 'emphasis');
       }
   ```
   Here getData() can be found in Model/Series.js, I think the possible reason 
that we can't highlight the edges through dispatchAction now is that getData 
function will get the node dataIndex but not the edge dataindex.
   
   Could you please help me check it?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to