To start editing nodes, first right click the Polygon or Curve and then select 'Edit Points' in the context menu.
To edit existing nodes simply hold the left mouse button and drag it to its new position.
To add a new node, click anywhere on the line and drag the point to the desired position.
To remove a node, hold down the CTRL key and click the node with the left mouse button.