demo diagram