archi icon indicating copy to clipboard operation
archi copied to clipboard

[feature] Allow copy of one or multiples elements between two models through model tree windows

Open bourboule opened this issue 6 years ago • 3 comments

Request is to allow the copy of one or multiples elements from model A to a model B using only the Model Tree (Today, it's only possible through Views).

Option:

  • when it's a single "Copy", a new identifier is created for each element
  • when it's a "Paste Special", the source identifier is reused

This will allow identification of multiples instances of an elements through many models and will help to consolidate models in the future.

NB: the identification option could be also applied when copying from a View too.

bourboule avatar Jun 20 '18 12:06 bourboule

This can be achieved using the database plugin.

All components from a model (elements, relationships and views) can be imported to other models, either in copy mode (ie. duplicated with a new id) or in shared mode (keeping thesame id).

The modifications done on a shared component will be seen by all the models that include this component.

Hope this helps.

herve91 avatar Jun 20 '18 15:06 herve91

Note: Added for tracability

This is clearly related to this post on Archi forum. It discusses use-cases behing this need.

jbsarrodie avatar Jun 20 '18 16:06 jbsarrodie

+1 for being able to copy individual elements from one model to another.

NB I see that "relationship" management seems to be a block on a number of pending feature requests.

  • I don't mind if relationships are broken and need to be re-established.
  • Alternatively PAST relationships can be captured in "Documentation" section of the moved/copied element
  • Alternatively PAST relationships can be captured as "Attributes" under "Properties" tab.
  • Alternatively a single relationship back to the source model could be made as an attribute under properties

samperd avatar Dec 17 '18 14:12 samperd