Are diet and constipation related in children?

Are diet and constipation related in children?