added simple visualization for cpp