Redacted Activity Box

0 votes
asked Mar 5, 2020 in Wanted features by rod_makin (180 points)

It would be nice to have a specific box for functionality that has been redacted. So for example if I create an activity diagram as below, in the next iteration I need to tell people that the functionality in the lightgreen box has been removed. I know that there are other ways to do this, but it seems a nice way to quickly illustrate it with a different type of box, maybe one simply with diagonal lines corner to corner.

@startuml

title Activity Flow Key

start

#lightblue:Lightblue - Start of a section;

#cyan:Cyan - Jump to another logic flow diagram;

#wheat:Wheat Resolve ..<>..<TABLE_NAME>\nschema <schema>\n<key_a== [variable_x] **BEST**\n<key_b== [variable_y] **EXACT**\nApply Policy;

#lightgray:Lightgray - Values have been set or stored;

#lightgreen:REDACTED;

#orange:Orange - Informational element for subsequent section\nMay be used as Trace Messages in the Application;

:<back:yellow> << back:yellow >> indicates change from previous version of diagram;

if(\nDecision\nthen (yes)

    :TRUE\nStatements;

else (no)

    :FALSE\nStatements;

    #red:Red - Specific Exit\nNo return to previous logic;

   stop

endif

if(\nDecision 2\nthen (yes)

    :TRUE\nStatements;

else (no)

    :FALSE\nStatements;

    #SlateBlue:Jump to Local A;

    note right

        Local A Jump Point

        Use jump points ONLY where PlantUML

        cannot deliver the logic required

    end note

    stop

endif

 :Case Statements;

stop        

@enduml

By the way - keep up the great work PlantUML is awesome!

1 Answer

0 votes
answered Mar 6, 2020 by plantuml (295,000 points)
I'm sorry, I am not sure to understand your request.

Could you post a very short example of what you are expecting, with a picture ?

Thanks!
commented Mar 6, 2020 by rod_makin (180 points)

I hope that you can see this image!

Redacted

Or use the link below

https://imgur.com/a/Ht0DvVl

Im not sure how to post pictures if Im honest:)

commented Mar 10, 2020 by rod_makin (180 points)
Did this work? Could you see the picture with the crossed out box?
commented Mar 10, 2020 by plantuml (295,000 points)
Yes, we've seen your picture.

And we understand what you are looking for. This is a good idea.

Now, we have to think about a nice syntax for this feature (ideas are welcome :-)
commented Mar 10, 2020 by rod_makin (180 points)

Three possibilities maybe below. I concede that the one that looks like the partition command might be useful in its own right an possibly easier to implement :-

@startuml

title Redacted

start

if (Redacted?then (yes)

    #lightgreen:<redact>REDACTED;

    #lightgreen:x:REDACTED;

else (no)

    #lightgreen:NORMAL;

endif

redacted "Redacted" {

    #lightgreen:REDACTED;

}

stop        

@enduml

...