Revert bad renamings in graphs

* The changed function calls are of d3 and must stay `links`.
* The loading of a templates file was changed, but the file wasn't
  renamed.