Skip to content
🤷

Forgive us! These docs are a work in progress. Some pages may be incomplete or describe features that aren't quite finished yet. Farkitect is in early development and we don't recommend using it for real work just yet. Feel free to explore — just be aware that things are still being built.

How to declare package imports

Package imports declare which M2 metamodels an M1 package can use. Without imports, the Palette is empty and you can’t create typed elements.

  1. Select the M1 package in the Explorer
  2. In the Properties panel, find the Imports section
  3. If the imports are inherited from a parent package, click Override to make them editable
  4. Click the + button to add an import
  5. Select the M2 metamodel you want to import

The Palette updates immediately — the imported metamodel’s element types and relationship types are now available.

Repeat the process to import additional metamodels. A single package can import as many M2s as needed. The Palette shows types from all imported metamodels, grouped by layer.

Sub-packages inherit imports from their parent by default. If a top-level M1 package imports ArchiMate, all sub-packages within it also have access to ArchiMate types.

To override imports on a sub-package (for example, to add an additional metamodel):

  1. Select the sub-package
  2. Click Override in the Imports section
  3. Add or remove imports as needed

Overriding replaces the inherited imports entirely — make sure to include any metamodels you still need.

  1. Select the package
  2. In the Imports section, click the remove control next to the metamodel you want to remove

Removing an import doesn’t delete any elements that were created using that metamodel’s types. The elements remain in the model, but you won’t be able to create new elements of those types from the Palette until the import is restored.