With those methods, we've built a simple graph class.

JAVASCRIPT
OUTPUT
Results will appear here.