By enabling snapping to path and snapping to nodes in Inkscape I can, for example, snap a corner of a rectangle to a line by moving the rectangle towards the line.
But it doesn't work the other way around. If I move the line towards the rectangle, it won't snap to a corner. In this case I could first move the rectangle until it snaps and then move both objects to the rectangle's original place to achieve the desired result.
I could proceed similarly when needing to rotate the line until it snaps and instead rotating the rectangle first and then rotate both objects back by the same angle. But if I need to scale a potentially complex object until it snaps to a corner of a rectangle or any other node, there is no easy workaround.
Is there a solution to also make paths snap to nodes, instead of just the other way around?
Is there an efficient workaround in cases where an object has to be scaled?
There is a workaround for scaling in case of proportional scaling. As with rotation, the scaling center of the target object has to be set to the position of the scaling center of the object to be scaled. The target object, for example a rectangle, is then evenly scaled until it touches the path of the other object. Both object are then evenly rescaled until the rectangle is at its original position with its original size. So, if the path object has to be scaled up, one would scale the rectangle down instead and then scale both objects up again.
In case of uneven scaling, one could use guidelines to scale along them. This workaround doesn't help with freehand scaling, though.