OK, then you’ll need to override Link | GoJS API
Examples include the TaperedLink sample and the BalloonLink extension.