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