duplicate the topic. start discussion here: https://forum.unity.com/threads/uielements-graphview-ignores-margin-for-selection-rectangle.567931/ GraphView ignores margin for selection rectangle. On the attached gif, you can see what GraphView does if it adds a margin to the element itself, or to its contentContainer https://forum.unity.com/attachments/f2181298-f2a0-44f3-9740-6a3c04555461-gif.315547/ I heard an argument that GraphView and its contentContainer have absolute positioning. But it is not. I added a margin and background-color to them without any problems and watched the appearance of the border and offset. However, the selection rectangle shifts and is not under the cursor.