6.2.5.15. Architecture-CopyAndProjectView

Copy the content of the given RFG view to a new view (overwriting its previous content) and remove all nodes that are not children of the given root node

Required inputs: RFG

This rule copies all nodes that are children of a given root node from one view into another view (including the root node itself, and all edges between the children).

Possible Messages

This rule has no predefined messages.

Options

export_warnings

export_warnings : bool = True

Export output messages to the analysis database.
 

loglevel

loglevel : LogLevel = 'WARNING'

Logging mode. WARNING only outputs errors and warnings, INFO additionally prints info messages, DEBUG additionally outputs info and debug messages.
 

root

root : str = ''

Name of the root node.
 

source_view_name

source_view_name : str = ''

Name of the source view.
 

target_view_name

target_view_name : str = ''

Name of the target view. If it already exists, its contents are removed.
 

Option Types

These types are used by options listed above:

LogLevel

An enumeration.
 
  • WARNING

  • INFO

  • DEBUG