adds thread partition visualization