You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example: in the following chart, I am able to resize the text inside the modules, but I can't resize the text on the arrows connecting them.
flowchart LR
classDef largeText font-size:20px;
A["User"] -- Question --> B["Chatbot"]
B -- Chatbot Answer --> C["LLM"]
A -- Answer --> C
C --> D{"Chatbot Answer"}
D -- Yes --> E["Result: Pass"]
D -- No --> F["Result: Fail"]
class A,B,C,D,E,F largeText
Example
flowchart LR
A["Evaluation Box"] -- Eval Question{fontsize:18} --> B["Chatbot"]
Screenshots
No response
The text was updated successfully, but these errors were encountered:
You can use linkstyle statement to handle this. See example below:
linkStyle 0 stroke:#ff3,font-size:18px;
Since there is no "id" associated with the link itself we are using the index position to apply the style. So while you cannot do the same classDef styling as you can with nodes, you can style each link separately.
The only drawback to this syntax is that if you move your links around, the indexes will be off and you will have to renumber
Proposal
For example: in the following chart, I am able to resize the text inside the modules, but I can't resize the text on the arrows connecting them.
flowchart LR
classDef largeText font-size:20px;
A["User"] -- Question --> B["Chatbot"]
B -- Chatbot Answer --> C["LLM"]
A -- Answer --> C
C --> D{"Chatbot Answer"}
D -- Yes --> E["Result: Pass"]
D -- No --> F["Result: Fail"]
class A,B,C,D,E,F largeText
Example
flowchart LR
A["Evaluation Box"] -- Eval Question{fontsize:18} --> B["Chatbot"]
Screenshots
No response
The text was updated successfully, but these errors were encountered: