Hi. This is an upgrade to latest Angular 10. Some changes had to be done besides automatic migrations:
Removed HttpModule import which was deprecated.
Updated graph component template to use public options property instead of private (didn't compile otherwise).
In Link, changed source and target declaration to just Node. Otherwise the link-visual component which uses link.source.x wouldn't compile. It's not quite right as the source and target props are still initialized with numbers, didn't find another way though and everything compiles and works, so...
Hi. This is an upgrade to latest Angular 10. Some changes had to be done besides automatic migrations:
HttpModule
import which was deprecated.graph
component template to use publicoptions
property instead of private (didn't compile otherwise).Link
, changedsource
andtarget
declaration to justNode
. Otherwise thelink-visual
component which useslink.source.x
wouldn't compile. It's not quite right as thesource
andtarget
props are still initialized with numbers, didn't find another way though and everything compiles and works, so...