Pass the rounded edge property to the diagram object.

Change-Id: I71fa1bf82b879a1da69ca78d53bcf8072bdfa9ae