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

Problem with excel import for node with attributes

0 votes

Are the property mappings definitely right in the example given last feb?   They both map the data to the Label text so, depending on which I have first in the list, either the name of the entity, or the attribute list gets set.  I can't see that I've messed up any other settings, but probablky I have.  Shouldn't a Node with Attributes have something other then Label text to which to map?

 

I'm using the latest yed version BTW.

 

http://yed.yworks.com/support/qa/679/someone-provide-sample-spreadsheet-showing-import-creation

in Help by
Found it!

In the property mapper, when you click on a line in the top list, you get to say which "label number" it maps to when mapping to a label text.  So the entity name is  #1 and the attribute list is #2
seems to me that in case of attribute lists - when mapped to label 2 - the "fit Node to Label"-function doesn't work. I get the entity names (label No. 1) to fit into the node, but the attribute lists are written over the lines in width and in height.
...or am I missing something?

btw: my idea is to keep a data catalogue in Excel and import the entities and their relationships into yed on a regular basis. But I don't want to resize/realign/reorder the ERD always again manually after importing from Excel.

Re:

seems to me that in case of attribute lists - when mapped to label 2 - the "fit Node to Label"-function doesn't work. I get the entity names (label No. 1) to fit into the node, but the attribute lists are written over the lines in width and in height.
...or am I missing something?

This happens for an "Entity with Attributes" ERD node, right? Unfortunately, the attributes label works in a way we have not taken into account for properties mapper. I have added a corresponding request for improvement to our list of improvements for yEd. Due to the tremendous size of that list I cannot make any promises when or even if we will be able to include this improvement in yEd.

1 Answer

0 votes

The ERD configuration depicted in the screen shot assumes that "Entity with Attributes" nodes from the "Entity Relationship" palette section are used. These nodes have two node labels; the first mapping (Name -> Label Text) sets the first label's text and the second mapping (Attribute List -> Label Text) sets the second label's text:

You are not required to use entity nodes to make that configuration work, however, you will have to use nodes that have at least two labels. To add an additional label, right-click a node to open its context menu and choose "Add Label".

by [yWorks] (152k points)
Legal Disclosure | Privacy Policy
...