For Dendro you could use negative offset
it is also better to smooth the polylines before using them in Dendro. I am not a master of Datatree handling in GH, I prefer C# for that, so the DataTree handling here is awful.
Smooth with some fillet corner.
Or some smoothing of polyline