add class relation chart