add logic chain graph