You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
only processes the label attribute and ignores color. Setting only the color attribute also gets ignored.
edit: I was confused about the color attribute, as it doesn't show up as a separate attribute in the data lab. It does however seem to get picked up, even if it only seems to work for specific colors.
It seems like using [atr1=".." attr2=".."] works.
It also looks like the importer completely falls apart once you introduce multiple attributes, as seen by the test data resulting in
From having a quick look at the importer it seems like you assume there is only ever one attribute per node, which is not correct.
Should maybe loop until ; or EOL, but looping the whole section is likely going to mess up edge parsing, so this is just a rough suggestion. also I don't really know the code, I just had a quick gander.
I wasn't sure where exactly to put this, so ill just link possibly related issues here: #320#1644#2780
The text was updated successfully, but these errors were encountered:
Expected Behavior
dot files get loaded properly
Current Behavior
they do not
Steps to Reproduce
save this as
text.dot
or similar and open it in gephi:Your Environment
It seems like the importer only looks for the
label
attribute.This:
gets loaded properly, however this
only processes the label attribute and ignores color.
Setting only the color attribute also gets ignored.edit: I was confused about the color attribute, as it doesn't show up as a separate attribute in the data lab. It does however seem to get picked up, even if it only seems to work for specific colors.
It seems like using
[atr1=".." attr2=".."]
works.It also looks like the importer completely falls apart once you introduce multiple attributes, as seen by the test data resulting in
From having a quick look at the importer it seems like you assume there is only ever one attribute per node, which is not correct.
gephi/modules/ImportPlugin/src/main/java/org/gephi/io/importer/plugin/file/ImporterDOT.java
Lines 181 to 192 in 760df9a
Should maybe loop until
;
or EOL, but looping the whole section is likely going to mess up edge parsing, so this is just a rough suggestion. also I don't really know the code, I just had a quick gander.I wasn't sure where exactly to put this, so ill just link possibly related issues here: #320 #1644 #2780
The text was updated successfully, but these errors were encountered: