highlighting - Configure which highlighter to use (and with which options) for each type of interaction.

List of highlighting interactions

Example usage:

new joint.dia.Paper({
    highlighting: {
        'default': {
            name: 'stroke',
            options: {
                padding: 3
            }
        },
        connecting: {
            name: 'addClass',
            options: {
                className: 'highlight-connecting'
            }
        }
    }
})