Skip to content

[Feature Request] Working with referenced models (import / link / reuse) #1166

@RemcoKapinga

Description

@RemcoKapinga

Description

For advanced use cases, it would be very useful to enable working with linked or references models, and allowing cross usage. I foresee a workflow where i can import (or rather: reference) another model, and can reuse entities, relations and views from that model in my own model.

This would greatly enhance collaboration for modelers, in the same manner that structured package manangement works for software developers.

As an entry point, when we enable referencing external model files (by adding a path or uri and version), and allowing referencing elements from that external model, would make a great start. Referenced models can be considered read-only (you need to change to original file) from the using model.

as an example (for sake of discussion) i mocked up this xml syntax for this feature:

<?xml version="1.0" encoding="UTF-8"?>
<archimate:model xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:archimate="http://www.archimatetool.com/archimate" name="Example " id="id-7ebbb31b960a4807b93af98bce688595" version="5.0.0">
  <references>
    <reference name="Core Elements" id="id-32636af347447807b93af98bce688595" modelversion="5.0.0" path="core.archimate"/>
    <reference name="Reference Patterns" id="id-2453634525447807b93af98bce688595" modelversion="5.0.0" uri="https://example.org/patterns/reference.archimate>version=23"/>
  </references>
  <folder name="Strategy" id="id-ffc0dd84c1d54c45ba4c46bc9d4cb50e" type="strategy">
  ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions