Salt (wireframe)
Salt 그래픽 인터페이스 디자인을 위한 서브 프로젝트이다.@startsalt 키워드를 사용하거나, @startuml 아래에 salt 키워드를 사용할 수 있다.
Developers, designers, and user experience professionals employ them to visualize interface elements, navigational systems, and to facilitate collaboration. They vary in fidelity, from low-detail sketches to high-detail representations, crucial for prototyping and iterative design. This collaborative process integrates different expertise, from business analysis to user research, ensuring that the end design aligns with both business and user requirements.
WARNING
This translation need to be updated. WARNING
기본 위젯
윈도우는 반드시 브라킷({, })으로 감싸야 한다. 그리고 아래의 형식으로 사용한다.:
- 버튼(Button)은
[와]. - 라디오 버튼(Radio button)은
(와). - 체크박스(Checkbox)는
[와]. - 인풋박스(User text area)는
".
|
🎉 Copied!
|
|
이 툴은 단순한 샘플 윈도우에 대한 토론을 위해 사용된다.
WARNING
This translation need to be updated. WARNING
Text area
Here is an attempt to create a text area:
|
🎉 Copied!
|
|
Note:
- the dot (
.) to fill up vertical space; - the last line of space (
" ") to make the area wider.
|
🎉 Copied!
|
|
|
🎉 Copied!
|
|
Open, close droplist
You can open a droplist, by adding values enclosed by ^, as:
|
🎉 Copied!
|
|
[Ref. QA-4184]
그리드 사용하기
테이블은 {를 사용할 때 자동 생성된다. 그리고 컬럼을 구분하기 위해선 | 를 사용해야한다.
예시:
|
🎉 Copied!
|
|
Just after the opening bracket, you can use a character to define if you want to draw lines or columns of the grid :
| Symbol | Result |
#
|
To display all vertical and horizontal lines |
!
|
To display all vertical lines |
-
|
To display all horizontal lines |
+
|
To display external lines |
|
🎉 Copied!
|
|
WARNING
This translation need to be updated. WARNING
Group box [^]
|
🎉 Copied!
|
|
[Ref. QA-5840]
Using separator [.., ==, ~~, --]
You can use several horizontal lines as separator.
|
🎉 Copied!
|
|
Tree widget [T]
To have a Tree, you have to start with {T and to use + to denote hierarchy.
|
🎉 Copied!
|
|
Tree table [T]
You can combine trees with tables.
|
🎉 Copied!
|
|
And add lines.
|
🎉 Copied!
|
|
[Ref. QA-1265]
Enclosing brackets [{, }]
You can define subelements by opening a new opening bracket.
|
🎉 Copied!
|
|
Adding tabs [/]
You can add tabs using {/ notation. Note that you can use HTML code to have bold text.
|
🎉 Copied!
|
|
Tab could also be vertically oriented:
|
🎉 Copied!
|
|
Using menu [*]
You can add a menu by using {* notation.
|
🎉 Copied!
|
|
It is also possible to open a menu:
|
🎉 Copied!
|
|
Like it is possible to open a droplist:
|
🎉 Copied!
|
|
[Ref. QA-4184]
Advanced table
You can use two special notations for table :
*to indicate that a cell with span with left.to denotate an empty cell
|
🎉 Copied!
|
|
Scroll Bars [S, SI, S-]
You can use {S notation for scroll bar like in following examples:
{S: for horizontal and vertical scrollbars
|
🎉 Copied!
|
|
{SI: for vertical scrollbar only
|
🎉 Copied!
|
|
{S-: for horizontal scrollbar only
|
🎉 Copied!
|
|
Colors
It is possible to change text color of widget.
|
🎉 Copied!
|
|
[Ref. QA-12177]
Creole on Salt
You can use Creole or HTML Creole on salt:
|
🎉 Copied!
|
|
Pseudo sprite [<<, >>]
Using << and >> you can define a pseudo-sprite or sprite-like drawing and reusing it latter.
|
🎉 Copied!
|
|
[Ref. QA-5849]
OpenIconic
OpenIconic is a very nice open source icon set. Those icons have been integrated into the creole parser, so you can use them out-of-the-box.
You can use the following syntax: <&ICON_NAME>.
|
🎉 Copied!
|
|
The complete list is available on OpenIconic Website, or you can use the following special diagram:
|
🎉 Copied!
|
|
Add title, header, footer, caption or legend
|
🎉 Copied!
|
|
(See also: Common commands)
Zoom, DPI
Whitout zoom (by default)
|
🎉 Copied!
|
|
Scale
You can use thescale command to zoom the generated image.
You can use either a number or a fraction to define the scale factor. You can also specify either width or height (in pixel). And you can also give both width and height: the image is scaled to fit inside the specified dimension.
|
🎉 Copied!
|
|
(See also: Zoom on Common commands)
DPI
You can also use theskinparam dpicommand to zoom the generated image.
|
🎉 Copied!
|
|
Include Salt "on activity diagram"
You can read the following explanation.
|
🎉 Copied!
|
|
It can also be combined with define macro.
|
🎉 Copied!
|
|
Include salt "on while condition of activity diagram"
You can include salt on while condition of activity diagram.
|
🎉 Copied!
|
|
[Ref. QA-8547]
Include salt "on repeat while condition of activity diagram"
You can include salt on 'repeat while' condition of activity diagram.
|
🎉 Copied!
|
|
[Ref. QA-14287]
Skinparam
You can use [only] some skinparam command to change the skin of the drawing.
Some example:
|
🎉 Copied!
|
|
|
🎉 Copied!
|
|
FIXME
🚩
FYI, some other skinparam does not work with salt, as:
|
🎉 Copied!
|
|
Style
You can use [only] some style command to change the skin of the drawing.
Some example:
|
🎉 Copied!
|
|
FIXME
🚩
FYI, some other style does not work with salt, as:
|
🎉 Copied!
|
|
[Ref. QA-13460]