|
13 | 13 | from pipelex import log |
14 | 14 | from pipelex.graph.mermaidflow.mermaid_html import render_mermaid_html_async, render_mermaid_html_with_data_async |
15 | 15 | from pipelex.graph.mermaidflow.mermaidflow_factory import MermaidflowFactory |
16 | | -from pipelex.graph.mermaidflow.stuff_collector import collect_stuff_data_html, collect_stuff_data_text |
17 | 16 | from pipelex.graph.reactflow.reactflow_html import generate_reactflow_html_async |
18 | 17 | from pipelex.tools.misc.string_utils import snake_to_title_case |
19 | 18 |
|
@@ -116,25 +115,12 @@ async def generate_graph_outputs( |
116 | 115 |
|
117 | 116 | # Generate ReactFlow HTML |
118 | 117 | if inclusion.reactflow_html: |
119 | | - # Collect stuff data in alternate formats if configured |
120 | | - rf_stuff_data_text: dict[str, str] | None = None |
121 | | - rf_stuff_data_html: dict[str, str] | None = None |
122 | | - if graph_config.data_inclusion.stuff_text_content: |
123 | | - log.verbose("Collecting stuff data text for graph_spec") |
124 | | - rf_stuff_data_text = collect_stuff_data_text(graph_spec) |
125 | | - else: |
126 | | - log.verbose("No stuff data text to collect for graph_spec") |
127 | | - if graph_config.data_inclusion.stuff_html_content: |
128 | | - rf_stuff_data_html = collect_stuff_data_html(graph_spec) |
129 | | - |
130 | 118 | effective_rf_config = graph_config.reactflow_config |
131 | 119 | if direction is not None: |
132 | 120 | effective_rf_config = effective_rf_config.model_copy(update={"layout_direction": direction}) |
133 | 121 | reactflow_html = await generate_reactflow_html_async( |
134 | 122 | graph_spec, |
135 | 123 | effective_rf_config, |
136 | | - stuff_data_text=rf_stuff_data_text, |
137 | | - stuff_data_html=rf_stuff_data_html, |
138 | 124 | title=page_title, |
139 | 125 | ) |
140 | 126 |
|
|
0 commit comments