Skip to content

chg: refactor KnowledgeGraph class into smaller, testable components #37

@gesinn-it-gea

Description

@gesinn-it-gea

The KnowledgeGraph class has grown very large, making it difficult to maintain and test.

Proposed refactor:

  • Split semantic data retrieval into a dedicated service/class.
  • Move parser functions into a separate handler.
  • Isolate WikiPage and category operations into helper classes.
  • Ensure backward compatibility with existing hooks and JS integration.

Benefits: improved testability, readability, and maintainability.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions