fuchunhui edited a comment on issue #16169:
URL: https://github.com/apache/echarts/issues/16169#issuecomment-1065909532


   I thought about it carefully, but I still have a little doubt.
   
   `expandAndCollapse ` is not only initialization, but also interactive 
behavior. It supports collapses and expands interaction of nodes. What I'm 
confused about now is how to ensure the coexistence of the two and who has the 
higher priority.
   
   Case one:
   ```javascript
   {
       expandAndCollapse: true,
       nodeClick: false
   }
   ```
   Click the node, what will happen.
   
   Case two:
   
   ```javascript
   {
       expandAndCollapse: false,
       nodeClick: true
   }
   ```
   What 's the result?
   
   and Case three:
   ```javascript
   {
       expandAndCollapse: true,
       nodeClick: 'link'
   }
   ```
   link to target or expand node, even both.
   
   Or other solutions, remove the interaction of `expandAndCollapse `, it only 
controls nodes on init.


-- 
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]

Reply via email to