yFiles for HTML Demos Selection Styling yFiles Demos
Custom Selection Decoration: