monarch-initiative / biolink-api

API for linked biological knowledge
https://api.monarchinitiative.org/api/
BSD 3-Clause "New" or "Revised" License
64 stars 25 forks source link

Improve /api/graph/edges/from/ endpoint #273

Closed kshefchek closed 5 years ago

kshefchek commented 5 years ago

Currently the graph edges endpoint hardcodes the depth and direction of edges to traverse: https://github.com/biolink/biolink-api/blob/3219fef/scigraph/scigraph_util.py#L131

Ideally the endpoint would be as flexible as the scigraph /graph/neighbors/ function: https://scigraph-data.monarchinitiative.org/scigraph/docs/

deepakunni3 commented 5 years ago

Fixed via https://github.com/biolink/biolink-api/pull/281