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

Custom Properties - Edge List Excel import data

0 votes

1. I would like to create or manage custom properties like mentioned in one of your example in help by going to 
Help---> Example Graphs---> Custom Properties--->travel_durations.graphmlz 

I looked at the example to do similar one with my imported excel file using edgelist and the data does not show along the lines as shown in example,  as the example file is not very information on how the structure was created as input to add or import the label along the lines

 I am trying to do a similar thing, the idea is I have information on the Parents percentage ownership of the child nodes I want to add that labels in the graph, I have the data in the excel file as a column and how do I add it in the plot using custom properties, if I missed something I apologize as I am new to the tool and network visualizations itself... 

thanks
sundar

in Help by
retagged by

1 Answer

0 votes

The creation of the travel Durations example is described in the yEd manual page about the tool Properties Mapper. Please have a look at it and let me know, if you have still questions afterwards.

by [yWorks] (26.8k points)
thanks for directing me , but I looked at the example and could not figure out how the duration in minutes (630, 330, 1050, 135.......1380) values are loaded, so my question is if I have these data in an excel file and using edgelist to graph them, I have columns for Source, Target, Weight & Labels, which of these columns would carry the duration minutes column to plot in the mappings. Is so How do I map it, I am still not understanding that part ...

Sundar
Your Excel data should work well. Please make sure that you include all four columns in the 'Data Range' of the 'Edge List' section. Thus, yEd creates custom properties for each of the columns Weight and Label. The manual page of the Excel import has an example of exactly this scenario.

To just set the labels of edges (and nodes) to one of the column's values, it's easier to use the 'Presentation' tab of the Excel import dialog instead of the Properties Mapper. If you set the correct data range, you should be able to select 'Weight' and 'Label' in the 'Label Text' option of the 'Edges' section of the 'Presentation' tab.

With the Properties Mapper, it is even possible to have more than one label per edge and display both values at the same time.
Legal Disclosure | Privacy Policy
...