Skip to content

Commit 3295671

Browse files
fix: make plot node selection smoother
1 parent 60332e0 commit 3295671

File tree

9 files changed

+1755
-1765
lines changed

9 files changed

+1755
-1765
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ repos:
1919
language: system
2020
pass_filenames: true
2121
types: [python]
22+
exclude: ^(lib/crewai/src/crewai/cli/templates/|lib/crewai/tests/|lib/crewai-tools/tests/)
2223
- repo: https://github.com/astral-sh/uv-pre-commit
2324
rev: 0.9.3
2425
hooks:
Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1+
from crewai.flow.flow import Flow, and_, listen, or_, router, start
2+
from crewai.flow.persistence import persist
13
from crewai.flow.visualization import (
24
FlowStructure,
35
build_flow_structure,
4-
print_structure_summary,
5-
structure_to_dict,
66
visualize_flow_structure,
77
)
8-
from crewai.flow.flow import Flow, and_, listen, or_, router, start
9-
from crewai.flow.persistence import persist
108

119

1210
__all__ = [
@@ -17,9 +15,7 @@
1715
"listen",
1816
"or_",
1917
"persist",
20-
"print_structure_summary",
2118
"router",
2219
"start",
23-
"structure_to_dict",
2420
"visualize_flow_structure",
2521
]

lib/crewai/src/crewai/flow/visualization/__init__.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
from crewai.flow.visualization.builder import (
44
build_flow_structure,
55
calculate_execution_paths,
6-
print_structure_summary,
7-
structure_to_dict,
86
)
97
from crewai.flow.visualization.renderers import render_interactive
108
from crewai.flow.visualization.types import FlowStructure, NodeMetadata, StructureEdge
@@ -18,8 +16,6 @@
1816
"StructureEdge",
1917
"build_flow_structure",
2018
"calculate_execution_paths",
21-
"print_structure_summary",
2219
"render_interactive",
23-
"structure_to_dict",
2420
"visualize_flow_structure",
2521
]

0 commit comments

Comments
 (0)