The following is a prototyping for rendering and DSL.
@actor "User" :-> @view "Browser" @view "Browser" :-> @controller "Server" @controller "Server" :-> @entity "Database"
Actually, I’m considering about:
- Placement algorithm for elements like actor, view, controller and entity. It’s better if they are placed automaticallly. If need, we can set exact position.
- My first DSL is messy. It’s not helpful to understand relationship between elements.
The current placement logic is very ad-hoc, and the DSL is not intuitive. Also I don’t like the result of rendering about the gap among the lines and elemnets.
Robustness diagram is different from sequence diagram at layout. The former is 2D graph, so called. If someone knows good algorithms to place nodes on 2D graph and give me that, it would be very happy for me.
Anyway, I have to improve these.