documentationfor yFiles for HTML 2.6

Customizing User Interaction

yFiles for HTML supports a wide range of user interactions for creating and editing diagrams. All user interactions are configurable to a wide extent, making it possible to impose constraints, change visible feedback, or even completely change gestures and introduce new ways of user interaction.

This section shows how to customize the various user interactions supported by yFiles for HTML. A general explanation of the user interactions can be found in chapter User Interaction.

Most user interactions are handled by an IInputMode. Section Coordinating Different Kinds of User Interactions shows how to coordinate these in a way they don’t interfere with each other.

Some customizations require deeper knowledge of certain design patterns or API concepts. A general explanation of the most important concepts is listed in the chapter General Concepts for Customization.