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
shape "activity" ist hardly missing #1631
Comments
I've had a deeper look at the rendering of the actual "rectangle" svek. I've noted "diagonalCorner" is basically a "UPath" and not a "URectangle". It also seems ot be rather hard to implement a completey new shape as it would mean to re-implement all devices (beside of Graphics2D: EPS, HTML5, SVG, Tikz...). Maybe it would make more sense to add it as a skinparam of a rectangle? something like;
It could be a new method in URectangle. Although I'm not sure how hard it is to integrate that: public Shadowable leftPointing(double pointing) {
if (ignoreForCompressionOnX || ignoreForCompressionOnY)
throw new IllegalStateException();
if (pointing == 0)
return this;
final UPath result = UPath.none();
result.moveTo(0, 0);
result.lineTo(width - pointing, 0);
result.lineTo(width, height / 2.0);
result.lineTo(width - pointing, height);
result.lineTo(0, height);
result.lineTo(0, 0);
return result;
} The disadvantage of that is that the existing "RoundCorner" and "DiagonalCorner" skinparams do compete with that new parameter. Quite frankly, that's already the case with the two exiting skinparams. |
In last commit, we added Any though? |
Sure, with last snapshot, you can try:
Is this what you are looking for? |
Hi @arnaudroques, and all,
Regards, |
Yes, you are right, probably we should create |
More consistent! |
Sorry, we are lazy sometimes :-) |
Hi @arnaudroques, and all, During a test with @startuml
!pragma layout smetana
process process {
process process1
}
@enduml Regards, |
@arnaudroques: I've added the new "action" keyword to the edgy library in https://github.com/plantuml/plantuml-stdlib. That was some sort of a test case. ;-) |
Add keywords: - `action` - `process` New PlantUML Keywords from: - plantuml/plantuml#1631 - plantuml/plantuml#1643
Add keywords: - `action` - `process` New PlantUML Keywords from: - plantuml/plantuml#1631 - plantuml/plantuml#1643
Problem
At the moment (and as far as I knoiw), Plantuml doesn't provide any form of an "activity" shape for elements (see https://plantuml.com/de/deployment-diagram). This is a common shape used to visualize Activities, Processes, Value Streams and so on.
In Edgy, it is used to display activities (Journeys, Processes, Stories)
In archimate, it is used to visualize value streams:
Solution
I know these are two forms. I'm quite sure one form would help alot. My concrete proposition:
Alternatives
Alternatives would be the following ones, but at the end the results are all very "baa" workarounds for the missing shape:
The text was updated successfully, but these errors were encountered: