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
or else things won't work in edge captioning and filtering...
Realistically, Alchemy.js as a client application should not be burdened with teasing out unique edges. If someone was smart enough to get a data set with rich, diverse relationships between the same source and target node, they should be smart enough to provide Alchemy.js with a unique id for the edge.
Therefore, all edge ids will be defined with the logic:
if edge.id
edge.id = edge.id
else
edge.id = "#{edge.source.id}-#{edge.target.id}"
Another idea we were talking about was having the ID be source-relationship-target, since it's unlikely (except with temporal or chemical data I suppose) that there would be duplicates.
or else things won't work in edge captioning and filtering...
Realistically, Alchemy.js as a client application should not be burdened with teasing out unique edges. If someone was smart enough to get a data set with rich, diverse relationships between the same source and target node, they should be smart enough to provide Alchemy.js with a unique id for the edge.
Therefore, all edge ids will be defined with the logic:
sound good?
cc: @mdcox @ifjorissen
The text was updated successfully, but these errors were encountered: