Move workflow_graph.py from data to workflow folder and update imports

Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-01-10 21:33:40 +00:00
parent 400ed68312
commit b62b080ace
4 changed files with 3 additions and 3 deletions

View File

@@ -110,7 +110,7 @@ Only essentials that don't affect the core architecture:
- `__init__.py` - Thin wrapper for backward compatibility (delegates to plugins)
- ~~`run_state.py` - Bot execution state (could be pluginized in future)~~ **✅ MIGRATED** → `control.start_bot`, `control.get_bot_status`, `control.reset_bot_state` plugins
- `workflow_graph.py` - Workflow visualization (could be pluginized in future)
- ~~`workflow_graph.py` - Workflow visualization (could be pluginized in future)~~ **✅ MOVED** → `workflow/workflow_graph.py`
- `navigation_items.json` - Static navigation data
- `ui_assets.json` - Static UI assets

View File

@@ -1,7 +1,7 @@
"""Workflow plugin: navigation API routes blueprint."""
from flask import Blueprint, jsonify
from autometabuilder.loaders.metadata_loader import load_metadata
from autometabuilder.data.workflow_graph import build_workflow_graph
from autometabuilder.workflow.workflow_graph import build_workflow_graph
def run(runtime, _inputs):

View File

@@ -1,4 +1,4 @@
from autometabuilder.data.workflow_graph import build_workflow_graph
from autometabuilder.workflow.workflow_graph import build_workflow_graph
def test_build_workflow_graph_structure():