parameterized drawVisualization()