Open utterances-bot opened 1 year ago
Hi, i
Hi, I created a profile diagram where I defined my metaclasses and my stereotypes but I can't make it applied to my model. How to proceed with that? I created a stereotype based on an Use Case metaclass but it seems I cannot use my stereotype when I am modelling in a Use Case diagram.
Also, it would be better to be able to select directly the metaclass element when creating the metaclass, this would lead to less confusion. An example, I want to make a stereotype out of an Use Case. is the metaclass "Use Case", "UseCase" or even "use case"?
Hi @MaximeMahe78,
Sorry for the late response.
Also, it would be better to be able to select directly the metaclass element when creating the metaclass, this would lead to less confusion. An example, I want to make a stereotype out of an Use Case. is the metaclass "Use Case", "UseCase" or even "use case"?
You can select the right type from a dropdown (with filtering) once you connected the stereotype and the metaclass. The class element is only considered a metaclass when an Extension has been connected to it.
Once the UseCase
has been linked, you can select your use case and apply the stereotype from the element editor (right pane):
Stereotypes - Gaphor documentation
https://docs.gaphor.org/en/latest/stereotypes.html