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

Lifetime statements activate/deactivate don't work in sequence diagram with allow_mixing #85

Open
PavelSosin opened this issue Feb 5, 2019 · 1 comment
Labels
plantuml core PlantUML Core Issue. Can't be fixed here, maybe report at <https://github.com/plantuml/plantuml>?

Comments

@PavelSosin
Copy link

@startuml
allow_mixing

Interface ServerCapabilities {
}
Interface ClientCapabilities {
}

Interface Initialize {

}
Interface ResourcePath {

}
Interface DidOpenedNotification {

}

Interface GoalsRequest {

}

Interface GoalsResponse {

}

Interface Goal {

}

Interface ResourceFilter {

}

Interface BuildNotification {

}

Interface BuildStatusNotification {
	
}

Actor User
Entity WSExplorer
Entity BSDplugin
Entity BSDServer

User -> WSExplorer :open
activate WSExplorer
WSExplorer -> BSDServer: start

activate BSDServer
deactivate BSDServer
deactivate WSExplorer

@enduml

@PavelSosin PavelSosin changed the title Lifetime statements activate/deactivate don't work in sequence diagram Lifetime statements activate/deactivate don't work in sequence diagram with allow_mixing Feb 5, 2019
@HeinrichAD
Copy link
Collaborator

For documentation purpose:

There are some discussions in the PlantUML Q&A Forum on this Topic.
For example: allow_mixing doesn't work with sequence diagram.

It seems the current statement from the Core Team is:

It does not really make sense to mix up sequence and class diagram.
Source: Forum comment

However, if someone finds this feature particularly useful and/or absolutely necessary, they can always participate in discussions. It is also possible to submit feature requests to the PlantUML Core team.

As a tip: Good examples and use case descriptions not only help to increase the understanding of the problem/feature request, but could also increase the interest of the core developers.


Also keep in mind that while the propose example above may currently not be possible the following is:

image

@startuml
participant Alice <<Interface>>
participant Bob <<(C,#ADD1B2) Interface>>
participant "Alice\n----\n+ call()" <<Interface>>
participant "Bob\n----\n+ response()" <<(C,#ADD1B2) Interface>>

Actor User
Entity WSExplorer
Entity BSDplugin
Entity BSDServer

User -> WSExplorer : open
activate WSExplorer
WSExplorer -> BSDServer : start
activate BSDServer
deactivate BSDServer
deactivate WSExplorer
@enduml

@HeinrichAD HeinrichAD added the plantuml core PlantUML Core Issue. Can't be fixed here, maybe report at <https://github.com/plantuml/plantuml>? label Jul 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plantuml core PlantUML Core Issue. Can't be fixed here, maybe report at <https://github.com/plantuml/plantuml>?
Projects
None yet
Development

No branches or pull requests

2 participants