ExposoGraph.example_graphs

Curated showcase builders and manuscript-aligned architecture summaries.

Data Structures

class ExposoGraph.example_graphs.ArchitectureInventoryGroup(name: 'str', members: 'tuple[str, ...]', count: 'int')[source]
Parameters:
class ExposoGraph.example_graphs.ArchitectureSummary(node_count: 'int', edge_count: 'int', node_type_count: 'int', edge_type_count: 'int', node_type_counts: 'dict[str, int]', edge_type_counts: 'dict[str, int]', carcinogens: 'tuple[str, ...]', enzymes: 'tuple[str, ...]', metabolites: 'tuple[str, ...]', dna_adducts: 'tuple[str, ...]', pathway_labels: 'tuple[str, ...]', carcinogen_classes: 'tuple[ArchitectureInventoryGroup, ...]', enzyme_categories: 'tuple[ArchitectureInventoryGroup, ...]')[source]
Parameters:

Showcase Builders

ExposoGraph.example_graphs.build_androgen_module_graph()[source]

Return an optional androgen-metabolism module with receptor and variant context.

Return type:

KnowledgeGraph

ExposoGraph.example_graphs.build_androgen_module_engine(*, mode=GraphMode.EXPLORATORY)[source]

Load build_androgen_module_graph() into a GraphEngine.

Parameters:

mode (GraphMode | str)

Return type:

GraphEngine

ExposoGraph.example_graphs.build_full_legends_graph(*, include_androgen_module=False)[source]

Return a curated showcase graph aligned with the manuscript architecture.

Parameters:

include_androgen_module (bool)

Return type:

KnowledgeGraph

ExposoGraph.example_graphs.build_full_legends_engine(*, mode=GraphMode.EXPLORATORY, include_androgen_module=False)[source]

Load build_full_legends_graph() into a GraphEngine.

Parameters:
Return type:

GraphEngine

ExposoGraph.example_graphs.build_full_legends_architecture_summary(*, include_androgen_module=False)[source]

Return a typed architecture summary derived from the seeded showcase graph.

Parameters:

include_androgen_module (bool)

Return type:

ArchitectureSummary

ExposoGraph.example_graphs.write_full_legends_exports(output_dir='exports', *, visibility=GraphVisibility.ALL, include_androgen_module=False, bundle_dir=None)[source]

Write HTML, JSON, Plotly, and bundled viewer artifacts.

Parameters:
Return type:

dict[str, Path]