#9 Modified code to display element names

on diagram designer widget