initial
Cloned from project http://www.codeproject.com/Articles/24681/WPF-Diagram-Designer-Part-4