Closed flodt closed 3 years ago
Actually, I like this "feature". Might result in other issues (like unexpected behaviour of components in foreign diagrams), but as an "escape hatch" to create custom diagrams, it might be useful :-)
That's true - it's very practical for creating some more informal, or freely designed models.
Then maybe it would also be nice to choose the components from different diagram types in the sidebar on the fly, rather than when creating the diagram and then being "locked in" to that one type.
The focus of Apollon is on simplicity and not to rebuild advanced tools like draw.io, star-uml, etc. . We do not want to overwhelm inexperienced users with too many choices. I see the potential here for inexperienced users to mix up elements of different diagrams and thereby creating wrong models, but I am happy to discuss if it makes sense to include a more advanced mode, in which this is possible.
@krusche what is your opinion on this?
Implemented a filter which allows only elements of the same diagram type to be pasted
Describe the bug
When copying items via the clipboard and pasting in to a diagram, the type of the item is not checked before inserting it into the document. It is thus possible to paste, for example,
UMLUseCaseActor
s into class diagrams, orUMLComponent
s into activity diagrams, etc.To Reproduce
Expected behavior
Diagram elements of other types are not pasted.
Screenshots
Environment