Replies: 3 comments 2 replies
-
I tried a simplified notation of object (message) properties.
Details see below (styling,... arguments are still missing) |
Beta Was this translation helpful? Give feedback.
-
Hi @kirchsth, However, regarding "1. all arrows are numbered and colored" I believe that they only number all connecting arrows because they are reusing the work objects.
Therefore, I wouldn't want to make this the primary mode to number activities. Regarding "2. the last used/created object of an activity is stored in $lastObject" that is kind of already part of #11. Unfortunately, that leads to yet another breaking API change which takes longer than expected. Regarding "3. startObjectNote($object), endNote()" I really like the idea However, I would prefer the names Regarding "4. message flow modelling" I'm currently not too familiar with the method but could envision some kind of library extension with the necessary macros to describe those messages. As you noticed I'm already working on an Regarding the "simplified notation of object (message) properties" I've introduced the following definitions inspired by EDIFACT
Maybe those could be used to describe the rows and columns. |
Beta Was this translation helpful? Give feedback.
-
Hi @johthor, thank you for reading. at 1) a separate mode is perfect. at 2) thank you at 4) at json/yaml) I like your short notations and with json/yaml it is not so compact anymore. I would offer it only as an additional option. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi @johthor,
I like the tool and your (counter) model uses shorter notations (Maybe in one of the next versions of C4-PlantUML I will reuse some of your patterns).
I found/have some ideas which could be useful in your tool:
1. all arrows are numbered and colored
In https://medium.com/domain-driven-stories/using-draw-io-to-capture-domain-stories-3ca828f732a0
all arrows have the number of the activity and based on the position in the activity the number has a different color
2. the last used/created object of an activity is stored in $lastObject
Actors are typically predefined and has already a concrete name that they can be reused in the model, but objects are very oft dynamically created and cannot be referenced at the moment.
If it is stored in eg.
!global $lastObject
it can be copied and reused in the script3. startObjectNote($object=""), endNote()
If no $object is defined then automatically the $lastObject gets the note, otherwise the concrete defined one.
(optional a startActorNote() could be added too, in this case the default is the last defined Actor()).
Or if we change the definition that the default element is
a) after an activity() call the $lastObject
b) after an "Actor()" or "Object()" call the corresponding actor or object
then only one
startNote()
call could be enough.4. message flow modelling
In https://github.com/ddd-crew/domain-message-flow-modelling and https://domainstorytelling.org/articles/domain-message-flow-modeling/
complete messages with all properties can be modelled.
If you like the pattern with the tables, we could add a note sample in the documentation that it can be reused.
5.append() call, maybe obsolete
I didn't saw your "11-composable-activities" branch therefore I introduced an append() function.
But I assume your approach is better.
I started with a "dummy implementation" (styling,... arguments are missing, automatic color calculation of the numbers....) but I think it shows the rough ideas.
If you like I could eg. add the automatic color calculation (as soon your composable activities implementation is finished) and the
!global $lastObject
.Best regards
Helmut
Beta Was this translation helpful? Give feedback.
All reactions