Skip to content

Latest commit

 

History

History
57 lines (31 loc) · 3.27 KB

File metadata and controls

57 lines (31 loc) · 3.27 KB
graph LR
    Register_Base["Register Base"]
    Bounded_Register["Bounded Register"]
    Component_Type_Registries["Component Type Registries"]
    GraphGym_Contributions["GraphGym Contributions"]
    Bounded_Register -- "delegates storage to" --> Register_Base
    Component_Type_Registries -- "delegates storage to" --> Register_Base
    GraphGym_Contributions -- "registers components via" --> Component_Type_Registries
    GraphGym_Contributions -- "relies on for storage" --> Register_Base
Loading

CodeBoardingDemoContact

Details

The Extensibility & Plugin Manager subsystem in GraphGym provides a robust framework for integrating custom components, leveraging a centralized registration mechanism for various elements of a Graph Neural Network pipeline. This design ensures the framework remains highly modular and easily extensible.

Register Base

Acts as the foundational, centralized registry. It maintains a mapping of component names to their implementations, providing the fundamental storage and retrieval mechanism for all registered components within the framework.

Related Classes/Methods:

Bounded Register

Provides a more controlled and potentially validated registration process. It wraps the Register Base to enforce specific behaviors, such as preventing overwrites or ensuring naming conventions, thereby enhancing the robustness of the plugin system.

Related Classes/Methods:

Component Type Registries

These are specialized API endpoints designed for registering specific types of GNN components (e.g., graph convolution layers, complete network architectures, activation functions, pooling methods, etc.). They abstract the underlying registration mechanism, providing a clear interface for developers to extend the framework with new functionalities.

Related Classes/Methods:

GraphGym Contributions

This component serves as the primary location for housing concrete implementations of various GNN components (e.g., custom layers, networks, activation functions). It demonstrates how these components are integrated into the GraphGym framework by utilizing the Component Type Registries to make them available for use in experiments.

Related Classes/Methods: