Skip to content

feat: server-side BFS entity graph endpoint #82

@JohnRDOrazio

Description

@JohnRDOrazio

Summary

Add a server-side BFS graph traversal endpoint for visualizing entity relationships in the ontology editor.

Requirements

  • GET /projects/{id}/ontology/classes/{iri}/graph endpoint
  • Configurable ancestors_depth, descendants_depth, max_nodes, include_see_also
  • EntityGraphResponse schema with GraphNode and GraphEdge models
  • Lineage-based node types: focus, root, class, individual, property, external, unexplored
  • Truncation flag when node count exceeds max_nodes

Companion

Frontend: CatholicOS/ontokit-web#88

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions