How to restrict the reverse linking

Screenshot (9)

I want restrict the reverse linking from the toPort to fromPort , is there any specific property available for that

Set https://gojs.net/latest/api/symbols/LinkingTool.html#direction.
For example:

$(go.Diagram, ...,
  { ...,
    "linkingTool.direction": go.LinkingTool.ForwardsOnly
  })