Can we add a note to a salt flowchart?

0 votes
asked Jun 16, 2022 in Wanted features by ssnyder (230 points)
I am using a SALT flowchart to mock up a website.  I would like to add comments to the side of a "panel" to give information and document for both stakeholders and devs (when accepted). This would let me describe things that may not be apparent in the diagram, without adding additional text to the panel itself for clarification purposes, asking questions, etc.

2 Answers

0 votes
answered Jun 16, 2022 by Martin (8,360 points)

I'm not too sure what you're calling a flowchart.  But you can put salt diagrams inside another diagram type that allows notes, like this:

@startuml
label Salt1 [
{{
salt
{^"My group box"
  Login    | "MyName   "
  Password | "****     "
  [Cancel] | [  OK   ]
}
}}
]
note right of Salt1 : This is the logon page
@enduml

commented Jun 16, 2022 by The-Lu (64,340 points)

On the same time... (I didn't see your answer)... same ideas...

0 votes
answered Jun 16, 2022 by The-Lu (64,340 points)

Hello S.,

Here is a workaround, using sub-diagram, as:

@startuml
label l [
{{
salt
{
  <&person> Login  | "MyName   "
  <&key> Password  | "****     "
  [<&circle-x> Cancel ] | [ <&account-login> OK   ]
}
}}
]

note right of l
//note right//
On this form.
please to put * on 
Password field
end note

note bottom of l: //note bottom//

@enduml

If that can help,
Regards.

...