6.2.5.35. Architecture-HierarchicalMapping¶
Create a hierarchical mapping
Required inputs: RFG
Creates a mapping view for architecture models whose hierarchical structure (i.e., the containment relation of architectural entities) corresponds tightly to the structure of the hierarchy view.
Possible Messages
This rule has no predefined messages.
Options¶
This rule shares the following common options: exclude_messages_in_system_headers, excludes, includes, justification_checker, post_processing, provider, severity
The following places define options that affect this rule: Analysis-GlobalOptions
architecture_root¶
architecture_root : str = ''
architecture_view_name¶
architecture_view_name : str = 'Architecture'
export_warnings¶
export_warnings : bool = True
hierarchy_root¶
hierarchy_root : str = ''
hierarchy_view_name¶
hierarchy_view_name : str = 'File'
loglevel¶
loglevel : LogLevel = 'WARNING'
map_roots¶
map_roots : bool = True
mapping_view_name¶
mapping_view_name : str = 'Mapping'
transitions¶
transitions
Transition table for the tree transducer.Type: list[typing.Tuple[int, typing.Callable[[_dg.Node, _dg.View], bool], typing.Callable[[_dg.Node, _dg.View], bool], typing.Callable[[_dg.Node, _dg.Node], bool], typing.Optional[str], int]]
Default:
[(0, <function bauhaus.rules.axivion.architecture.hierarchical_mapping.<lambda>(n, _v)>, <function bauhaus.rules.axivion.architecture.hierarchical_mapping.<lambda>(n, _v)>, <function bauhaus.architecture.mappings.same_source_name(n1, n2)>, 'Maps_To', 0), (0, <function bauhaus.rules.axivion.architecture.hierarchical_mapping.<lambda>(n, _v)>, <function bauhaus.rules.axivion.architecture.hierarchical_mapping.<lambda>(n, _v)>, <function bauhaus.architecture.mappings.same_source_name_without_ending(arch_node, file_node)>, 'Maps_To', -1)]
Option Types¶
These types are used by options listed above:
LogLevel¶
An enumeration.WARNING
INFO
DEBUG