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

Solid line instead of dotted line with Rel_Access_rw #31

Closed
dseverov opened this issue Apr 25, 2021 · 1 comment · Fixed by #32
Closed

Solid line instead of dotted line with Rel_Access_rw #31

dseverov opened this issue Apr 25, 2021 · 1 comment · Fixed by #32
Assignees
Labels
bug Something isn't working
Milestone

Comments

@dseverov
Copy link

dseverov commented Apr 25, 2021

@startuml
left to right direction
skinparam nodesep 4
!include <archimate/Archimate>
Rel_(i5, j5, Access_rw_RIGHT, "<~~>")
Rel_Access_rw(i4, j4, Access_rw_WRONG)
Rel_Access_w(i3, j3, Access_w)
Rel_Access_r(i2, j2, Access_r)
Rel_Access(i1, j1, Access)
@enduml
You can see

@Potherca
Copy link
Member

Hi, thank you for taking the time to report this!

You are right, the lines are not correct for the Read/Write relationship.

I have opened #32 to resolve this:

Diagram source-code
@startuml
!include https://github.com/plantuml-stdlib/Archimate-PlantUML/raw/893d13340abdb1a27f247921ee30b7c846259e5d/Archimate.puml

skinparam {
    nodesep 4
    shadowing false

    interface {
        backgroundColor white
        borderColor white
    }
}

rectangle Read {
    interface " " as r
    interface " " as x
    interface " " as x1

    interface " " as r1
    interface " " as r2
    interface " " as r3
    interface " " as r4

    Rel_Access_r(r, x, Rel_Access_r)

    Rel_Access_r_Down(x1, r1, Rel_Access_r_Down)
    Rel_Access_r_Left(x1, r2, Rel_Access_r_Left)
    Rel_Access_r_Right(x1, r3, Rel_Access_r_Right)
    Rel_Access_r_Up(x1, r4, Rel_Access_r_Up)
}

rectangle "Read/Write" {
    interface " " as rw
    interface " " as rw1
    interface " " as y
    interface " " as y4
    interface " " as y1
    interface " " as y2
    interface " " as y3

    Rel_Access_rw(rw, y, Rel_Access_rw)

    Rel_Access_rw_Down(rw1, y1, Rel_Access_rw_Down)
    Rel_Access_rw_Left(rw1, y2, Rel_Access_rw_Left)
    Rel_Access_rw_Right(rw1, y3, Rel_Access_rw_Right)
    Rel_Access_rw_Up(rw1, y4, Rel_Access_rw_Up)
}

rectangle Write {
    interface " " as z
    interface " " as z1
    interface " " as w1
    interface " " as w2
    interface " " as w3
    interface " " as w4

    Rel_Access_w(z, w, Rel_Access_w)
    Rel_Access_w_Down(z1, w1, Access_w_Down)
    Rel_Access_w_Left(z1, w2, Rel_Access_w_Left)
    Rel_Access_w_Right(z1, w3, Rel_Access_w_Right)
    Rel_Access_w_Up(z1, w4, Rel_Access_w_Up)
}
@enduml

@Potherca Potherca added this to the v1.1.0 milestone Apr 26, 2021
@Potherca Potherca self-assigned this Apr 26, 2021
@Potherca Potherca changed the title Rel_Access_rw is drawing by solid line instead of dotted one like Rel_Access_w, Rel_Access_r, Rel_Access Solid line instead of dotted line with Rel_Access_rw Apr 26, 2021
Potherca added a commit that referenced this issue Sep 7, 2021
Change line for Read/Write relationship arrows from solid to dotted.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
2 participants