Closed dwalsten5 closed 8 years ago
Success! Changed approach in the file to only copy the referenced document into the new chart once. Stored a map of the entry points of each of the referenced charts as well as a map of arrays to the exit points of each referenced chart. Then, used the GSON library to insert this chart in the right place by working with the next question and option fields of these groups of nodes. Major change was to replace the node which references the flowchart-caption in the first place with the first node of the referenced chart
If a chart has two separate references to the same external chart, the existing converter does not correctly point back to each individual reference starting point. Will need to consider alternatives