add diagram analyse

add diagram analyse