angular-d3-graph-example icon indicating copy to clipboard operation
angular-d3-graph-example copied to clipboard

chore: Angular upgrade to v10

Open ziacik opened this issue 5 years ago • 0 comments

Hi. This is an upgrade to latest Angular 10. Some changes had to be done besides automatic migrations:

  1. Removed HttpModule import which was deprecated.
  2. Updated graph component template to use public options property instead of private (didn't compile otherwise).
  3. 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...

ziacik avatar Jul 16 '20 20:07 ziacik