Add span class diagram.