add usefulsnippet and imggraph