Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ To make *needuml* work we have to replace the *need()* call with a different fun

.. needuml::

{{ draw_component( needs.__getitem__('comp__component_example_1'), needs ) }}
{{ draw_component( needs.get('comp__component_example_1'), needs ) }}
component "Component Manual" as CM {
}
CM -> LI1: EXTRA_LINKAGE_MANUALLY_ADDED
Expand All @@ -651,7 +651,7 @@ To make *needuml* work we have to replace the *need()* call with a different fun

.. needarch::

{{ draw_component( needs.__getitem__('comp__component_example_1'), needs ) }}
{{ draw_component( needs.get('comp__component_example_1'), needs ) }}

component "Component Manual" as CM {
}
Expand All @@ -672,13 +672,13 @@ To achieve this the *need()* call needs to be replaced with the following, as *n

.. code-block:: none

# need() => needs.__getitem__('ID OF THE REQUIREMENT YOU ARE IN')
# need() => needs.get('ID OF THE REQUIREMENT YOU ARE IN')

# For example, drawing the requirement:
`COMP_ARC_STA__component_manual_1`

would then look as such
{{ draw_component( needs.__getitem__('COMP_ARC_STA__component_manual_1'), needs ) }}
{{ draw_component( needs.get('COMP_ARC_STA__component_manual_1'), needs ) }}


Limitations
Expand Down
Loading