Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate activity diagrams #105

Open
jermon opened this issue Dec 26, 2020 · 6 comments
Open

Generate activity diagrams #105

jermon opened this issue Dec 26, 2020 · 6 comments

Comments

@jermon
Copy link

jermon commented Dec 26, 2020

Is should be possible to generate activity diagrams from the code in methods and functions.
https://plantuml.com/activity-diagram-beta

@jfeliu007
Copy link
Owner

It would be nice. I have to give that some thought.

@hitzhangjie
Copy link

hitzhangjie commented Jan 6, 2021

Displaying the participants, condition branches, actions all in sequential diagram is an alternative manner.

ballerina sample 1:
image

ballerina sample 2:
image

@jermon
Copy link
Author

jermon commented Jan 6, 2021

Producing interaction diagrams are one thing. Producing activity diagrams are another.
The purpose of the interaction diagram is to capture the dynamic aspect of a system. Who is taking to who?
The purpose of activity diagram is basically a flowchart to represent the flow from one activity to another activity. The activity can be described as an operation of the system.
See UML - Activity Diagrams

@hitzhangjie
Copy link

hitzhangjie commented Jan 6, 2021

@jermon Yes, sequence diagram and activity diagram are two different diagrams.

Maybe this issue just want to show the activity transitions.

While I was trying to let developrs understand the code more easily and quickly, maybe these two occasions are different.

If so, just ignore it.

@jfeliu007
Copy link
Owner

I need to see how to make sense of code into an activity diagram for it to be helpful. I can certainly follow the flow of the codes and calls to make activity diagram elements and interactions. I need to l ook more into this.

@jfeliu007
Copy link
Owner

If you have seen before any articles that point in the right direction and would like to share them here, that can also help. Thanks for the suggestion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants