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

Fix #990: ascii reference implementation #991

Merged
merged 1 commit into from
Apr 11, 2022

Conversation

gwilherm
Copy link
Contributor

Example:

@startuml
participant Alice
actor Bob

ref over Alice, Bob : init

Alice -> Bob : hello

ref over Bob
  This can be on
  several lines
end ref
@enduml

Gives:

                       ┌─┐         
                       ║"│         
                       └┬┘         
                       ┌┼┐         
     ┌─────┐            │          
     │Alice│           ┌┴┐         
     └──┬──┘           Bob         
╔══════╤╪═══════════════╪══════╗   
║ REF  ││               │      ║   
╟──────┘│               │      ║   
║ init  │               │      ║   
╚═══════╪═══════════════╪══════╝   
        │    hello      │          
        │──────────────>│          
        │               │          
        │        ╔══════╤═════════╗
        │        ║ REF  │         ║
        │        ╟──────┘         ║
        │        ║ This can be on ║
        │        ║ several lines  ║
     ┌──┴──┐     ╚════════════════╝
     │Alice│           ┌─┐         
     └─────┘           ║"│         
                       └┬┘         
                       ┌┼┐         
                        │          
                       ┌┴┐         

@gwilherm
Copy link
Contributor Author

gwilherm commented Apr 10, 2022

Just noticed that final Bob lost his name..

Edit:
That actually also happens with notes : https://www.plantuml.com/plantuml/txt/SoWkIImgAStDuKfCBialKd3AJ-BYoiilILN8Bqk5S1M083mZjIXL8RDO8RTI8IynDrN1dYirBmMaZii1o03g1m00

@arnaudroques arnaudroques merged commit ba32c10 into plantuml:master Apr 11, 2022
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

Successfully merging this pull request may close these issues.

None yet

2 participants