33 lines
1.3 KiB
Gherkin
33 lines
1.3 KiB
Gherkin
Feature: LangGraph Visualization
|
|
As a developer using CleverAgents
|
|
I want to visualize LangGraph workflows
|
|
So that I can understand and debug my graph structures
|
|
|
|
Background:
|
|
Given the CleverAgents reactive system is available with LangGraph support
|
|
|
|
Scenario: LangGraph visualization
|
|
Given I have a complex LangGraph configured
|
|
When I request visualization in mermaid format
|
|
Then I should get a mermaid diagram showing all nodes with appropriate shapes
|
|
And the diagram should show all edges with conditions if present
|
|
And the diagram should show subgraph boundaries if applicable
|
|
|
|
Scenario: Visualize network with unsupported format
|
|
Given a basic application with simple config
|
|
When visualizing network with format "graphviz"
|
|
Then visualization returns "not supported" message
|
|
|
|
Scenario: Visualize network with mermaid format
|
|
Given an application with agents and routes
|
|
When visualizing network with format "mermaid"
|
|
Then visualization contains "graph TD"
|
|
And visualization contains agent references
|
|
|
|
Scenario: Visualization with complex graph structure
|
|
Given an application with multi-node graph
|
|
When visualizing network with format "mermaid"
|
|
Then visualization includes all nodes
|
|
And visualization includes all edges
|
|
And visualization is properly indented
|