public BranchContext BuildWhile(Node nextShapeNode, BranchContext thisBranchContext) { var nextLoopName = LoopNameGenerator.GetNextName(); return(BuildAnyWhileLoop(nextShapeNode, thisBranchContext, $"{nextShapeNode.NodeText}\n{nextLoopName}", nextLoopName)); }
public DiagramBuilder() { LoopNameGenerator = new LoopNameGenerator(); VisioManipulator = new VisioApi(); }