diagram tool: add basic stats
diagram tool: add basic stats