<commit_before>import {PluginBase} from "../plugin-base";

export class SVGEdgeHoverPlugin extends PluginBase {

    private boundEdgeEnterFunction = this.onEdgeEnter.bind(this);

    private modelListener = {dispose: () => {}};

    afterRender(): void {
        this.attachEdgeHoverBehavior();
    }

    destroy(): void {
        this.detachEdgeHoverBehavior();
        this.modelListener.dispose();
    }

    private attachEdgeHoverBehavior() {

        this.detachEdgeHoverBehavior();
        this.workflow.workflow.addEventListener("mouseenter", this.boundEdgeEnterFunction, true);
    }

    private detachEdgeHoverBehavior() {
        this.workflow.workflow.removeEventListener("mouseenter", this.boundEdgeEnterFunction, true);
    }
<commit_msg>fix merge errors<commit_after>import {PluginBase} from "../plugin-base";

export class SVGEdgeHoverPlugin extends PluginBase {

    private boundEdgeEnterFunction = this.onEdgeEnter.bind(this);

    private modelListener: { dispose: Function } = {
        dispose: () => void 0
    };

    afterRender(): void {
        this.attachEdgeHoverBehavior();
    }

    destroy(): void {
        this.detachEdgeHoverBehavior();
        this.modelListener.dispose();
    }

    private attachEdgeHoverBehavior() {

        this.detachEdgeHoverBehavior();
        this.workflow.workflow.addEventListener("mouseenter", this.boundEdgeEnterFunction, true);
    }

    private detachEdgeHoverBehavior() {
        this.workflow.workflow.removeEventListener("mouseenter", this.boundEdgeEnterFunction, true);
    }

{'fraction_non_alphanumeric': 0.11325611325611326, 'fraction_numerical': 0.0006435006435006435, 'mean_word_length': 3.494219653179191, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3852249', 'n_tokens_mistral': 439, 'n_tokens_neox': 418, 'n_words': 72}