-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split documentation into two categories (#33)
* Split documentation into two categories Signed-off-by: Guillaume Fontorbe <guillaume.fontorbe@typefox.io> * Split custom interactions documentation Signed-off-by: Guillaume Fontorbe <guillaume.fontorbe@typefox.io> --------- Signed-off-by: Guillaume Fontorbe <guillaume.fontorbe@typefox.io>
- Loading branch information
Showing
15 changed files
with
82 additions
and
56 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,4 +24,7 @@ enableRobotsTXT = true | |
endLevel = 9 | ||
|
||
[taxonomies] | ||
tag = "tags" | ||
tag = "tags" | ||
|
||
[params] | ||
geekdocMenuBundle = true |
1 change: 0 additions & 1 deletion
1
hugo/content/docs/actions_and_protocols.md → hugo/content/docs/actions-and-protocols.md
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
1 change: 0 additions & 1 deletion
1
hugo/content/docs/dependency_injection.md → hugo/content/docs/dependency-injection.md
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 |
---|---|---|
@@ -1,6 +1,5 @@ | ||
--- | ||
title: 'Features' | ||
weight: 301 | ||
--- | ||
{{< toc >}} | ||
|
||
|
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
3 changes: 1 addition & 2 deletions
3
hugo/content/docs/_index.md → hugo/content/docs/introduction.md
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
1 change: 0 additions & 1 deletion
1
hugo/content/docs/model_sources.md → hugo/content/docs/model-sources.md
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 |
---|---|---|
@@ -1,6 +1,5 @@ | ||
--- | ||
title: 'Overview' | ||
weight: 100 | ||
--- | ||
|
||
{{< toc >}} | ||
|
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,33 @@ | ||
--- | ||
title: 'User Interaction' | ||
--- | ||
{{< toc >}} | ||
|
||
## Interacting with a Sprotty Diagram | ||
|
||
Sprotty offers multiple mouse and keyboard interactions by default listed in the following tables. | ||
The `CTRL` key in the following is equal to the `CMD` key on Mac. | ||
|
||
| Mouse | ||
| ----------------- | ---- | | ||
| left-click: | toggle selection | | ||
| CTRL-click: | add to/remove from selection | | ||
| left-click : drag | move selection (when on selected element) | | ||
| left-click : drag | pan viewport (when on diagram background) | | ||
| mouse wheel: | zoom | | ||
|
||
| Touchpad | ||
| --------------------- | --- | | ||
|click | toggle selection | | ||
|drag | move selection (when on selected element) | | ||
|two-finger pan up/down | zoom | | ||
|zoom | zoom | | ||
|
||
| Keys | ||
| ---------- | --- | | ||
|CTRL-SHIFT-A| select all | | ||
|CTRL-SHIFT-C| center selection, or if nothing is selected center the entire diagram | | ||
|CTRL-SHIFT-E| export diagram to SVG | | ||
|CTRL-SHIFT-F| zoom selection to fill the entire canvas, or if nothing is selected zoom the entire diagram | | ||
|CTRL-Z | undo | | ||
|CTRL-SHIFT-Z| redo | |
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,28 @@ | ||
--- | ||
main: | ||
- name: Documentation | ||
sub: | ||
- name: Introduction | ||
ref: "/docs/introduction" | ||
- name: Overview | ||
ref: "docs/overview" | ||
- name: Sprotty Configuration and Dependency Injection | ||
ref: "docs/dependency-injection" | ||
- name: SVG Rendering | ||
ref: "docs/svg-rendering" | ||
- name: Micro-layout | ||
ref: "docs/micro-layout" | ||
- name: Model Sources | ||
ref: "docs/model-sources" | ||
- name: Communication and Protocols | ||
ref: "docs/actions-and-protocols" | ||
- name: Creating Custom Interactions | ||
ref: "docs/custom-interactions" | ||
- name: Reference | ||
sub: | ||
- name: SModel | ||
ref: "docs/smodel" | ||
- name: Features | ||
ref: "docs/features" | ||
- name: User Interaction | ||
ref: "docs/user-interaction" |
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