public IFlowNode CreateNode(IFlow flow, int x, int y, int width, int height, string form, string caption) { var n = flow.CreateNode(x, y, width, height, form, caption); CreateStateMachine(form); return(n); }