Closed umarashfaq closed 7 years ago
@woodenconsulting You could've asked for a PR instead of copy pasting :)
@umarashfaq I went with a slightly different approach, please see demo5. When a link instance factory is registered that will be used by default rather than setting via a prop. Please feel free to create PRs for future issues, it's much appreciated!
I'm able to specify custom node widgets but custom link widgets aren't working.
On line 388 of DiagramWidget#onMouseDown, we're instantiating
new LinkModel()
. Shouldn't this be coming from one of the instance factories?