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:- Given a valid SFG, then the deep-copied SFG should be functionally the same as the original one.
- The copied SFG should create new references to ports and anywhere where a unique identification is required.
- The copied SFG should contain new objects but all graphcomponents should have the same id values.
None
User stories:- 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.
- 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