Skip to content

Commit

Permalink
Merge branch 'master' of github.com:imairi/RIBsTreeMaker
Browse files Browse the repository at this point in the history
  • Loading branch information
imairi committed Mar 17, 2020
2 parents afd37d0 + 018577a commit 126781b
Showing 1 changed file with 29 additions and 5 deletions.
34 changes: 29 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,47 @@ swift run RIBsTreeMaker [path/to/iOSproject] --under [RIB name]
Use `under` option, the tree will be displayed only under the RIB.

## Visualize for mindmap
The output style is org-mode mindmap. For example, if use PlantUML the RIBs tree is visualized like the below.
The output style is org-mode mindmap.

```uml
@startmindmap
* Root
** LoggedOut
** LoggedOut<<noView>>
*** TermsOfUse
**** FailedLoading
*** Welcome
**** SignInFailedDialog
**** ForgotPassword
****** SMSAuthentication
******* ResetPassword
** LoggedIn
***** SMSAuthentication
****** ResetPassword
** LoggedIn<<noView>>
@endmindmap
```

Additionally, the mindmap style is set to detect easily the RIB has own view or not.

```
<style>
mindmapDiagram {
. * {
BackGroundColor #FFF
LineColor #192f60
Shadowing 0.0
RoundCorner 20
LineThickness 2.0
}
.noView * {
BackGroundColor #FFF
LineColor #d20b52
TextColor #d20b52
}
}
</style>
```

For example, if use PlantUML the RIBs tree is visualized like the below.


<p align="center">
<img src="https://raw.githubusercontent.com/imairi/RIBsTreeMaker/master/images/example_tree.png" width="800">
</p>
Expand Down

0 comments on commit 126781b

Please sign in to comment.