How do I show edge labels on graphs?

前端 未结 3 653
感情败类
感情败类 2021-01-03 05:46

I am trying to load a gexf file with sigInst.parseGexf(\'data/test.gexf\').

To create an edge with label I have this line in gexf file:



        
3条回答
  •  暖寄归人
    2021-01-03 06:10

    It's not yet possible with the main sigma.js library. However, I just forked the repository and added the capability on github.com here: https://github.com/sam2themax/sigma.js

    To enable this new feature, set edgeLabels to true in your drawingProperties.

提交回复
热议问题