FromSpot, toSpot in TreeView

Hi, I have a diagram in treeview, I want to have the incoming links to a node to have separate entry points. As direct by this tutorial, I set { fromSpot: go.Spot.LeftSide, toSpot: go.Spot.RightSide}, but I am not able to set SetsPortSpot, because no such property exists on TreeView.

The fromSpot: go.Spot.LeftSide, toSpot: go.Spot.RightSide seems to be ignored on a treeview. Is there a way to have separate entry points of different links, on a tree view?

There is no TreeView class or object. You want to set properties on the layout, which is a TreeLayout: