This sample demonstrates customization of the Link Shape's Geometry.

The TaperedLink class in this sample inherits from Link and overrides the makeGeometry method. For Bezier-curve Links, this computes a Geometry that is thick at the "from" end and thin at the "to" end. The implementation is very simple and does not account for links that are coming out from a node at angles that are not a multiple of 90 degrees.

加入 GoJS 交流群
GoJS 交流群 (769862113)