Welcome to yEd Q&A!
Here you can ask questions and receive answers from other members of the community and yEd developers. And you can tell us your most wanted feature requests.

Categories

Export Node Betweenness

0 votes
Hello

 

i need to Export the "Node Betweeness analysis" to another programm. I tried it with the TGF Format, but I couldn't find the relevant information :(

 

It would be awesome if you could help me :)
in Help by

1 Answer

0 votes
 
Best answer

The TGF format only takes the first node label into account. However, the Centrality Measures tool stores the result values in additional node labels. As a rather ugly workaround, you can try the following approach.

  1. Run "Tools" -> "Select Elements" to select all node labels.
  2. Remove all selected nodes labels by pressing DELETE.
  3. Run "Tools" -> "Centrality Measures".
  4. Save as TGF.

Be sure to do nothing else between steps 2 and 3 - not even selecting another element or moving the view port.

by [yWorks] (160k points)
Thank you.
This works but now there is another problem. I have about 2000 nodes. it looks like the index of the node in the new TGF changed. so it is nearly impossible to allocate the betweenness value with the node
For me, opening a TGF file then running steps 1 through 4 does not change any indices. That begs the question, how do you get your graph into yEd in the first place?
Alright. Its really the same indices. Thank you very much!!!
Legal Disclosure | Privacy Policy
...