StarGazerM opened a new issue #10457: Add support for weighted graph & optimize 
parse of attributes in gexf.js tool
URL: https://github.com/apache/incubator-echarts/issues/10457
 
 
   ### What problem does this feature solve?
   gexf.js does not support weight graph, get `weight` item while parsing 
edgeDom can easily fix it.
   Meanwhile,  now gexf tool will parse the  attrValue like `<attribute id="0" 
title="mod" type="long" />` into a list. Parsing attrTitle  to a member of 
node.attributes will be more convenient for using because some tool may 
generate index different for each time .
   
   ### What does the proposed API look like?
   visit the weight of a node
   ```
   node .weight
   ```
   
   parse attribute of node like 
   ```
   <attribute id="0" title="mod" type="long" />  
   ->
   node.attributes.mod
    ```
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   <!-- This issue is in English. DO NOT REMOVE -->

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