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

API question concerning addLink #239

Open
Lecrapouille opened this issue Jan 7, 2019 · 0 comments
Open

API question concerning addLink #239

Lecrapouille opened this issue Jan 7, 2019 · 0 comments

Comments

@Lecrapouille
Copy link

Hi !
The addLink function creates nodes if they do not exist. The data parameter of this function attaches ... data to the link. But what about created nodes ? They are created without data. Why not having created a function addLink with 3 data: one for the link, one for the "from" node and the last for the "to" node. I think you create Node with data before or after adding links but this is error prone in the case we forget some nodes.

Thx !

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

1 participant