Support export of reused/recursive element definitions
- real recursive elements produce an endless loop
- reflect the reuse and link to elements only
- modify and implement with GS in mind
(from redmine: issue id 859, created on 2018-01-22tgradl)
- Relations:
- relates #858