Get the graph for this Pregel instance.
draw_graph(
config: RunnableConfig,
*,
nodes: dict[str, PregelNode],
specs: dict[str, BaseChannel | ManagedValueSpec],
input_channels: str | Sequence[str],
interrupt_after_nodes: All | Sequence[str],
interrupt_before_nodes: All | Sequence[str],
trigger_to_nodes: Mapping[str, Sequence[str]],
checkpointer: Checkpointer,
subgraphs: dict[str, Graph],
limit: int = 250
) -> Graph| Name | Type | Description |
|---|---|---|
config* | RunnableConfig | The configuration to use for the graph. |
subgraphs* | dict[str, Graph] | The subgraphs to include in the graph. |
checkpointer* | Checkpointer | The checkpointer to use for the graph. |