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

How do I add edges? #100

Open
darabos opened this issue Oct 22, 2020 · 1 comment
Open

How do I add edges? #100

darabos opened this issue Oct 22, 2020 · 1 comment

Comments

@darabos
Copy link
Contributor

darabos commented Oct 22, 2020

There are operations that create new edges, like "Connect vertices on attribute". But these (always?) replace the existing edge bundle instead of adding to it. Maybe we could reconsider that.

But let's say they replace the edge bundle. How do I combine it with the preexisting edges? "Graph union" followed by "Merge vertices by attribute" kind of works. But it discards all the vertex attributes! I guess I can add them back with SQL...

image

Is there a better way? If there isn't, shouldn't there be?

@xandrew-lynx
Copy link
Contributor

Other workaround options:

  • Maybe graph rejoin works? Probably not.
  • You could specify merges one by one in the merge vertices box.

Longer term, it would be nice to solve this somehow. Maybe we need an edge union box. Or, as Dani points out, we could realize in the Graph Union box that the two vertex sets are the same (or compatible ala Graph Rejoin?) and then offer an edge only union.

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

No branches or pull requests

2 participants