|
Re: Generate output from diagram content [message #1848575 is a reply to message #1848557] |
Wed, 08 December 2021 11:50 |
|
> I hope this makes sense, newbie here...
If you have a use case, it make sense.
OK, nevertheless a diagram is a visualization of typically a part of a model. Because a diagram is a visualization, a diagram is not very well suited as a base for a transformation.
Alternative approaches are
* group the classes to be taken into account by modeling means by
- relating these classes with an element used to be the root element of the transformation (i.e. making the classes realize an artifact and using the artifact as the root element)
- classifying the classes by a stereotype or a value of a stereotype
* if possible, make the transformation selecting the right classes. In this case you take a class as root element and the transformation computes which other classes are needed.
/pica
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01998 seconds