AVALANCHE: Add some graphic functions for Nim.