title: Labview: creating subVIs makes the Block Diagram expand
body: <p>I wrote a rather complicated piece of code in Labview (with many loops and other sequences). Therefore I want to create many subVIs to make my code more clear.</p>
  
  <p>When I have a loop in the code I want to have in a subVI, the icon of the newly created subVI appears far away form my original piece of code, causing my Block Diagram to expand.</p>
  
  <p>Why does it happen and how can I avoid it?</p>
  
  <p>The piece of code I want to turn into a subVI:
  <a href="https://i.stack.imgur.com/s95hP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/s95hP.png" alt="The piece of code I want to turn into a subVI"></a></p>
  
  <p>The same fragment of my Block Diagram after I created the subVI:
  <a href="https://i.stack.imgur.com/Gkc9t.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Gkc9t.png" alt="The same fragment of my Block Diagram after I created the subVI"></a></p>
  
  <p>And here is my newly created subVI - approximately 1 m to the right at 1 m down in comparison with the first piece of code:
  <a href="https://i.stack.imgur.com/UN09W.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UN09W.png" alt="And here is my newly created subVI - approximately 1 m to the right at 1 m down in comparison with the first piece of code."></a></p>