RIBsTreeMaker visualize RIBs business logic tree. The output style is org-mode mindmap.
swift run RIBsTreeMaker [path/to/iOSproject] --under [RIB name]
Use under
option, the tree will be displayed only under the RIB.
The output style is org-mode mindmap.
@startmindmap
* Root
** LoggedOut<<noView>>
*** TermsOfUse
**** FailedLoading
*** Welcome
**** SignInFailedDialog
**** ForgotPassword
***** 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
}
}
</style>
For example, if use PlantUML the RIBs tree is visualized like the below.
RIBsTreeMaker is inspired by flock. Modified and adapted to RIBs architecture.