title: how can i increment an (x,y) value for a graph location
body: <p>im trying to increment the y value inside of this class &quot;Point&quot; which can only take an x value and a y value. is there a way that i can increment the y</p>
  <pre><code>for (const port of node.ports) {
          const p = new Point(-10, 0);
          const j = new Point(8,0);
          if (port.tag.portConnector.charAt(0) === &quot;P&quot;) {
              graph.setRelativePortLocation(port, p);
          } else {
              graph.setRelativePortLocation(port, j);
          }
      }
  };
  </code></pre>