Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edge attributes not imported (or not shown) after DOT import #1644

Closed
samhatchett opened this issue Dec 29, 2016 · 6 comments
Closed

Edge attributes not imported (or not shown) after DOT import #1644

samhatchett opened this issue Dec 29, 2016 · 6 comments

Comments

@samhatchett
Copy link

When importing a dotfile, the edge attributes do not appear in the "Laboratory" table, nor are they accessible in the "Appearance" panel. However, the edges do appear colored appropriately (as declared in the dotfile).

So even thought the colors are correct, there is no way to modify the colors manually, either by editing the table, or by selecting the edge (which does not seem possible to do).

@samhatchett
Copy link
Author

In case it's helpful, the practical result is that I can't accomplish what I want to do: namely, select certain edges based on properties expressed as attributes, and modify or remove just those edges. If there is another way to accomplish this, then I'd be grateful to learn.

@eduramiba eduramiba self-assigned this Jan 2, 2017
@eduramiba
Copy link
Member

Hi,
Can you provide a sample dot file with this problem?

Thanks

@samhatchett
Copy link
Author

sure, see below: simple 3-node graph.

the edges show up in the color specified (red, black, blue), but edge properties are not viewable/editable in the Laboratory or anywhere else.

thanks!

graph G {
	0[label="1", elevation="524.696", measured="false"];
	1[label="11", elevation="603.338", measured="false"];
	2[label="2", elevation="524.696", measured="false"];
	0--1 [label="10", diameter="8", measured="false", color="red"];
	1--2 [label="11", diameter="8", measured="false", color="blue"];
	0--2 [label="12", diameter="8", measured="false", color="black"];
}

@eduramiba
Copy link
Member

@samhatchett Thanks

@FishOfPrey
Copy link

Just ran across this. I guess the short term answer is to switch to a different graph format where Gephi supports attributes on edges.

I'm trying GEXF, which seems to be more successful so far.

@mbastian mbastian added this to the 0.10.0 milestone Nov 6, 2022
@mbastian mbastian assigned mbastian and unassigned eduramiba Nov 6, 2022
mbastian added a commit that referenced this issue Nov 6, 2022
@mbastian
Copy link
Member

mbastian commented Nov 6, 2022

This is fixed but due to some other error we had to change the edge parsing a bit. Edges like 0--1 won't work anymore. The spaces are necessary: 0 -- 1 works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants