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

Improvement: handling multiple links between nodes #33

Open
gg4u opened this issue Sep 21, 2017 · 3 comments
Open

Improvement: handling multiple links between nodes #33

gg4u opened this issue Sep 21, 2017 · 3 comments

Comments

@gg4u
Copy link

gg4u commented Sep 21, 2017

Hi, I am looking at:
https://bl.ocks.org/mattkohl/146d301c0fc20d89d85880df537de7b0

at the moment in ngraph is possibile to have two link between two nodes, with an id of the edge like "from.id-to.id" corresponding to the id of vertexes.

Have you considered the possibility to pass custom IDs , so that is possible to have multiple types of links?

@anvaka
Copy link
Owner

anvaka commented Oct 4, 2017

Hi Luigi, just wanted to acknowledge that I'm reading this, and thinking about it. I like the idea of custom ids a lot.

@gg4u
Copy link
Author

gg4u commented Oct 20, 2017

Thank you, there are scenarios for traversing multiple types of viewpoints (aka type of links) that I would be indeed happy to work on and explore, for public audiences and open governance. If you are interested in, happy to share thoughts about data to consider in PVT!

@gg4u
Copy link
Author

gg4u commented Oct 20, 2017

I would go for something like _id = <relationshipType>-<fromId>-<toId> not sure if a purely custom _id like _id = 'yesImACustomLink!' can be of actual utility like instead it is for nodes... Have not thought about a use case but to query links for relationshipType.

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