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

ActivityEdge link notes support #1776

Open
grivo opened this issue May 14, 2024 · 0 comments
Open

ActivityEdge link notes support #1776

grivo opened this issue May 14, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@grivo
Copy link

grivo commented May 14, 2024

prerequisites

as standard of UML 2.5 claims, ActivityEdge of an activity type diagram may have its own note attached due to some features existence

current ad-hoc

the only way now to attach a note to a link between activity nodes is a subdiagram, embraced by awkward whitespace and single character (i have used dot here) - it decreases the chance of overlapping between subdiagram and parent diagram's elements

here is an example

@startuml example

start

:read tasks;

->selecting my tasks;

:tasks
[open, running, failed, closed]; <<task>>
note right
    as UML standard says,
    //selection// annotation
    attached to an //ObjectNode//
    means base filtering and
    ordering, syntax may vary

    --<<selection>>--
    
    export non-closed tasks only 
end note

split
    ->my active tasks
    {{
        skinparam Backgroundcolor transparent

        note as _
            as UML standard says, //selection// annotation attached to an //ActivityEdge//
            means secondary filtering of tokens exported by an //ObjectNode// from
            above, syntax may vary
            
            --<<selection>>--

            process active (opened and running) tasks only 
        end note
    }}








    
                                                                                       .;
    
    :set tasks priority;
split again
    ->my failed tasks
    {{
        skinparam Backgroundcolor transparent

        note as _
            as UML standard says, //transformation// annotation attached to an //ActivityEdge//
            means tokens will be transformed somehow, syntax may vary
            
            --<<transformation>>--

            extract name of reporter from every task
        end note
    }}
    ;



    :reporters; <<task>>

    :have meeting with reporters of failed issues;
    
end split

:prepare tasks resolution schedule;

stop
@enduml

request

ActivityEdge should have not support sort of

:action;

->my link;
note [left, top, bottom, right] on link
    text of the node
end note

:next action;
@The-Lum The-Lum added enhancement New feature or request and removed triage labels May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants