Inwards/Outwards arrow to/from a class from/to nowhere.

+1 vote
asked Aug 8, 2017 in To be sorted by Prashant (300 points)


Is there a way we can create an inwards arrow to a class in the class diagram, which is coming from nowhere.

And simmilary outward arrow(s).

For example as :


 --->|  Class A  |----->


1 Answer

+1 vote
answered Jan 26 by Anthony-Gaudino (7,550 points)
selected Jan 31 by Prashant
Best answer

Using this hack:

skinparam shadowing false

skinparam rectangle {
        BackgroundColor<<PLACEHOLDER>> transparent
        BorderThickness<<PLACEHOLDER>> .1
        BorderColor<<PLACEHOLDER>> transparent
              FontColor<<PLACEHOLDER>> transparent
               FontSize<<PLACEHOLDER>> 0
    StereotypeFontColor<<PLACEHOLDER>> transparent
     StereotypeFontSize<<PLACEHOLDER>> 0
Shadowing<<PLACEHOLDER>> false

rectangle a <<PLACEHOLDER>> {

class b

a -> b

you may be able to do what you want, you may need to change some of the parameters though because they seem to not work by now.