Added view graph switching.