ARIS AML markup Language file reader

Deprecated since version 1.4.0: The arisAMLreader module is deprecated and will be removed in a future version. The ARIS format is no longer actively maintained or supported. Use one of the supported formats instead:

File reader from ARIS AML format

Module contents

DEPRECATED: ARIS AML format reader.

This module is deprecated and will be removed in a future version. The ARIS format is no longer actively maintained or supported.

For working with ArchiMate models, use: - archimateReader: For OpenGroup Exchange format (.xml files) - archiReader: For Archi native format (.archimate files)

Original function: Conversion program from ARIS AML xml file to Archimate Open Exchange File format Author: X. Mayeur Date: October 2022 Version 0.9

pyArchimate.readers.arisAMLreader.aris_reader(model: Model, root: Any, scale_x: float = 0.3, scale_y: float = 0.3, no_view: bool = False) None[source]

Class to perform the parsing of ARIS AML data and to generate an Archimate model

Parameters:
  • model (Model) – Model to read in

  • root – XML data in Aris Markup Language

  • scale_x (float) – X-Scaling factor in converting views

  • scale_y (float) – Y-Scaling factor in converting views

  • no_view – if true do not generate views

pyArchimate.readers.arisAMLreader.get_text_size(text: str, points: int, font: str) tuple[float, float][source]

Calculate text dimensions for given font and size (platform-dependent).

pyArchimate.readers.arisAMLreader.id_of(_id: str) str[source]

Convert ARIS ID to normalized format.