-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix missing escaping in mermaid diagram (#28)
* incorrect old behavior * escape inputs/outputs * bump version * fix doctest string * fix string escape * update formatting of custom field dict value * clean-up
- Loading branch information
1 parent
1d600a2
commit 9a46537
Showing
8 changed files
with
114 additions
and
37 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
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
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,40 @@ | ||
```mermaid | ||
flowchart | ||
%% Define steps (nodes) | ||
subgraph OUTERLEVEL["` `"] | ||
direction LR | ||
subgraph STEP_A["Step a"] | ||
direction TB | ||
subgraph STEP_A_InputSchema["Input: NamedTuple{(:rad,)}"] | ||
direction RL | ||
STEP_A_InputSchemarad{{"rad::Any"}} | ||
class STEP_A_InputSchemarad classSpecField | ||
end | ||
class STEP_A_InputSchema classSpec | ||
end | ||
subgraph STEP_B["Step b"] | ||
direction TB | ||
subgraph STEP_B_InputSchema["Input: Nothing"] | ||
direction RL | ||
end | ||
subgraph STEP_B_OutputSchema["Output: Duckling"] | ||
direction RL | ||
STEP_B_OutputSchemax{{"x::Val{Symbol(#quot;\#quot;hi12,32}{{}:y;./[]]#quot;)}"}} | ||
class STEP_B_OutputSchemax classSpecField | ||
end | ||
STEP_B_InputSchema:::classSpec -- func --> STEP_B_OutputSchema:::classSpec | ||
end | ||
%% Link steps (edges) | ||
STEP_A:::classStep -..-> STEP_B:::classStep | ||
end | ||
OUTERLEVEL:::classOuter ~~~ OUTERLEVEL:::classOuter | ||
%% Styling definitions | ||
classDef classOuter fill:#cbd7e2,stroke:#000,stroke-width:0px; | ||
classDef classStep fill:#eeedff,stroke:#000,stroke-width:2px; | ||
classDef classSpec fill:#f8f7ff,stroke:#000,stroke-width:1px; | ||
classDef classSpecField fill:#fff,stroke:#000,stroke-width:1px; | ||
``` |
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
9a46537
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuliaRegistrator register
9a46537
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Registration pull request created: JuliaRegistries/General/91699
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via: