I know that we can prevent drawing cyclic references by setting myDiagram.validCycle = go.Diagram.CycleNotDirected;.
Is there any way I can remove cyclic references from existing models. These models are generated programatically so I donot have control to restrict cyclic references.