It seems that there is always a small gap between pin pivot rect and the link itself when the width or height of pin pivot rect is greater than zero instead of a point like in Houdini example. Is it possible to remove this gap such that the links touch the border of the pin pivot rect?
Distance is controller by style variable PinRadius. Name is unfortunate. I think this is what you're looking for.
ed::PushStyleVar(ed::StyleVar_PinRadius, 5.0f);
if you change that to 0.0f, gap will be gone.
It seems that there is always a small gap between pin pivot rect and the link itself when the width or height of pin pivot rect is greater than zero instead of a point like in Houdini example. Is it possible to remove this gap such that the links touch the border of the pin pivot rect?