#!/usr/bin/python class Node: """ attributes: id - internet-domain unique identifier for this node (numerical) name - locally unique identifier (within its parent) parent - container for this node, responsible for constraining its motion children - child nodes contained within this node, indexed by name type - type of node position - defines position within parent (interpreted by parent) group - Tk tag for the representation of this node """ def __init__(self, id=None, name=None, parent=None, position=None): self.id = id; self.name """ types of nodes: - small, circular - large, circular or shaped -