Fixed wrong graph visualization.