-
Notifications
You must be signed in to change notification settings - Fork 3
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
Link endpoints #25
Comments
+1 to this
Yes, and I am struggling to think of anything better. I think that you could imply directionality even from the positioning within an array, so don't think we should worry about this. Suggest going with |
JSON Graph Specification and GraphML pair |
This is pretty heavily loaded, but at least it's clear and has precedent |
I think including a The technical working group's draft data model used Netdraw VNA uses In the supply side research, we saw:
I am inclined to go with |
Actually, we've gone with separate properties for |
The alpha schema and codelists added in #101 reflect the latest proposal in this issue. This issue will remain open against the beta milestone to gather feedback from the alpha consultation. |
We've not heard any further feedback on this issue so I'm going to close it for now. |
Links need to reference their endpoints, i.e. the nodes that they connect.
Our understanding is that links are not directional, i.e. they do not have a start or end. Therefore, they could be modelled as a string array containing the identifiers of the nodes connected by the link, e.g.
However, a common need is to create a map that shows the connections between nodes, in which case users would need to join links to to the
nodes
array using the identifiers inendpoints
in order to look up the coordinates of each endpoint.Modelling as a string array creates more work for users because they would first need to split out the values
endpoints
. Therefore, declaring the endpoint references in separate fields seems preferable.However, care needs to be taken in naming the fields to avoid implying a direction, e.g.
start
andend
would not be appropriate and, arguably,A
andB
or1
and2
have similar issues.This issue is to discuss suitable modelling and naming for link endpoints.
The text was updated successfully, but these errors were encountered: