-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(image-to-diagram): update diagrams and workflow for image proces…
…sing
- Loading branch information
1 parent
26f9993
commit 778c8cc
Showing
12 changed files
with
313 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
samples/image-to-diagram/src/test/resources/01_expected_mermaid.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
title: Image to diagram with correction | ||
--- | ||
flowchart TD | ||
__START__((start)) | ||
__END__((stop)) | ||
agent_describer("agent_describer") | ||
agent_sequence_plantuml("agent_sequence_plantuml") | ||
agent_generic_plantuml("agent_generic_plantuml") | ||
%% condition1{"check state"} | ||
__START__:::__START__ --> agent_describer:::agent_describer | ||
%% agent_describer:::agent_describer --> condition1:::condition1 | ||
%% condition1:::condition1 -->|sequence| agent_sequence_plantuml:::agent_sequence_plantuml | ||
agent_describer:::agent_describer -->|sequence| agent_sequence_plantuml:::agent_sequence_plantuml | ||
%% condition1:::condition1 -->|generic| agent_generic_plantuml:::agent_generic_plantuml | ||
agent_describer:::agent_describer -->|generic| agent_generic_plantuml:::agent_generic_plantuml | ||
agent_sequence_plantuml:::agent_sequence_plantuml --> __END__:::__END__ | ||
agent_generic_plantuml:::agent_generic_plantuml --> __END__:::__END__ | ||
|
26 changes: 26 additions & 0 deletions
26
samples/image-to-diagram/src/test/resources/01_expected_plantuml.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
@startuml Image_to_diagram_with_correction | ||
skinparam usecaseFontSize 14 | ||
skinparam usecaseStereotypeFontSize 12 | ||
skinparam hexagonFontSize 14 | ||
skinparam hexagonStereotypeFontSize 12 | ||
title "Image to diagram with correction" | ||
footer | ||
|
||
powered by langgraph4j | ||
end footer | ||
circle start<<input>> as __START__ | ||
circle stop as __END__ | ||
usecase "agent_describer"<<Node>> | ||
usecase "agent_sequence_plantuml"<<Node>> | ||
usecase "agent_generic_plantuml"<<Node>> | ||
'hexagon "check state" as condition1<<Condition>> | ||
"__START__" -down-> "agent_describer" | ||
'"agent_describer" -down-> "condition1" | ||
'"condition1" -down-> "agent_sequence_plantuml": "sequence" | ||
"agent_describer" -down-> "agent_sequence_plantuml": "sequence" | ||
'"condition1" -down-> "agent_generic_plantuml": "generic" | ||
"agent_describer" -down-> "agent_generic_plantuml": "generic" | ||
"agent_sequence_plantuml" -down-> "__END__" | ||
"agent_generic_plantuml" -down-> "__END__" | ||
@enduml | ||
|
Oops, something went wrong.