private TransitionGroupDocNode CreateChoice(Identity childId, ExplicitMods mods) { TransitionGroup tranGroup = (TransitionGroup)childId; TransitionDocNode[] transitions = DocNode.GetMatchingTransitions( tranGroup, DocSettings, mods); var nodeGroup = new TransitionGroupDocNode(tranGroup, transitions); return(nodeGroup.ChangeSettings(DocSettings, DocNode, mods, SrmSettingsDiff.ALL)); }