Graph changed from JavaScript to TypeScript