Skip to content

Deep-Copy of SFG

Description of issue:

Given a valid SFG, then the user should be able to make a deep-copy of this SFG. The returned SFG should be the same as the copied one in functionality.

Linked Requirements:

( 36 )

Potential Issues:

None

Blockers:

( #12 (closed) )

Issue Requirements:
  1. Given a valid SFG, then the deep-copied SFG should be functionally the same as the original one.
  2. The copied SFG should create new references to ports and anywhere where a unique identification is required.
  3. The copied SFG should contain new objects but all graphcomponents should have the same id values.
Comment:

None

User stories:
  1. As a user I want to be able to deep copy an SFG so that the copy has the same structure and where all graphcomponents have the same ID's with a simple function call.
  2. As a user I want to be able to deep copy an SFG so that the copy has the same structure and where all graphcomponents have the same ID's by doing a call to the object (using the __call__ for python3).
Edited by Angus Lothian