Skip to content

feat: server-side BFS entity graph endpoint #82

Open

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

Activity

  1. added this to the v0.3.0 milestone on Apr 13, 2026
  2. self-assigned this
    on Apr 13, 2026
  3. modified the milestones: v0.3.0, v0.4.0 on Apr 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions