Grapher: NodeEditor: Add script externalisation and update