Added graph drawing system and legal.