Modified Dot, DotLink, and added Node class