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

How to make node label visible?

0 votes

Hi, I'm new to yEd. I'm trying to reproduce figures in the hep document. In the section: import from excel, the example given:

 

  Anna Ben Chris Dan Elena
Anna 0.0 1.0 1.0 1.0 0.0
Ben 0.0 0.0 1.0 1.0 0.0
Chris 0.0 0.0 0.0 1.0 1.0
Dan 0.0 0.0 0.0 0.0 1.0
Elena 0.0 0.0 0.0 0.0 0.0

above is the table I created in excel, then imported into yEd.  From left to right is A to F, up to down is 1 to 6. so under the section Adjacency Matrix, 

Strange thing is that if I tick "Node IDs in First ", the information line only dectcts 2 nodes?? so I did not tick all those boxes, the program detects "5 Nodes, 8 Edges, 1 Node Property".

In "Presentation", under Nodes, I select "Node Label" for "Label Text". I want to put names into grids, just like what shown in the example figure. But what I got is a social map in the same shape as the example, but in each node only the label index visible, say 1,2,3,4,5, but not Anna, Ben, Chris... ???

Please suggest where I did wrong? How can I put names into Node box? 

And is there a way to change the size of the node box as a function of connection numbers? say, if there are 5 people connecting with Anna, so Anna box will become larger? 

Many thansk

Kyle

in Help by (270 points)
edited by

1 Answer

0 votes
If you want to include the node IDs, these cells must also be part of the range, that is your data range should be A1:F6 and not B2:F6. Please let me know if this doesn't solve the problem.

For the second question, please have a look at the tool 'Centrality Measures'. Choose 'Number of connected edges' as measure and, on the tab Presentation, enable 'Size Indication'.
by [yWorks] (26.8k points)
Thank you michael, your methods are mostly working, except that yEd treats A1 as a node. I selected A1:F6, yEd detects 6 nodes, instead of 5. The final plot includes a separate node "Anna". Could you please suggest a way to tell yEd that there are only 5 nodes, from "Anna" to "Elena"

Your way to describe the size of node is awesome! But sometimes those nodes become too big, they overlap and I cannot even see those edges. Is it a way that edges (line connecting two nodes) can be longer so that nodes won't overlap ?

By default, nodes are plotted in rectangular or ellipse, may I adjust the shape ?

In the demo video, I saw layout the the network structure can be adjusted from one shape to another (cool!!!), but I did not find how I can do that ?

In a network, for example the friendship network, is it possible to do statistical test showing which node has the largest incoming edges (arrows point to the node) ? The overall connection strength among selected nodes?

Many thanks for your time
Kyle
Hi Kyle!

1. For the data range A1:F6 you should check both options 'Node IDs in First Row' and 'Node IDs in First Column' since, obviously, both the first row and the first column contain the names. If there are two nodes of the name Anna, there might be a subtitle difference, for example an additional space character. Alternatively, the range A2:F6 and checking only the option 'Node IDs in First Row' should work, too.

2. After changing the node size, you should run one of the layout algorithm that fits your needs from the menu. The import feature does this, too, depending on the 'Layout' setting in the 'Presentation' tab of the dialog.

3. The node shape used by the import is the one that is selected (by double-clicking) in the Palette window. You can change the shape of any node at any time, too: http://yed.yworks.com/support/manual/palette.html.

4. This is done with the layout algorithms from the menu.

5. This is available in Centrality measures and called 'Weights of connected Edges'.
Thank you Michael,

Your suggestions are of great value!! For my last question on statistical analysis, is there a way to ask the software to generate a table (sheet) showing the result? say which node gains the most incoming arrows ?

Many thanks
Kyle
Unfortunately not, there is no way to export these values to a text file or similar.
Legal Disclosure | Privacy Policy
...