New to Kendo UI for jQueryStart a free 30-day trial

Hover.fill

configuration

Defines the hover fill options of the connector.

hover.fill

String|Object
<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram({
    shapes: [{
        id: "1",
        content: "Shape 1",
        x: 100,
        y: 100
    }, {
        id: "2", 
        content: "Shape 2",
        x: 300,
        y: 100
    }],
    connections: [{
        from: "1",
        to: "2"
    }],
    connectionDefaults: {
        fromConnector: {
            hover: {
                fill: {
                    color: "orange",
                    opacity: 0.7
                }
            }
        }
    }
});
</script>

Defines the hover fill color of the connector.

<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram({
    shapes: [{
        id: "1",
        content: "Shape 1",
        x: 100,
        y: 100
    }, {
        id: "2", 
        content: "Shape 2",
        x: 300,
        y: 100
    }],
    connections: [{
        from: "1",
        to: "2"
    }],
    connectionDefaults: {
        fromConnector: {
            hover: {
                fill: {
                    color: "purple"
                }
            }
        }
    }
});
</script>

Defines the hover fill opacity of the connector.

Default: 1

<div id="diagram"></div>
<script>
$("#diagram").kendoDiagram({
    shapes: [{
        id: "1",
        content: "Shape 1",
        x: 100,
        y: 100
    }, {
        id: "2", 
        content: "Shape 2",
        x: 300,
        y: 100
    }],
    connections: [{
        from: "1",
        to: "2"
    }],
    connectionDefaults: {
        fromConnector: {
            hover: {
                fill: {
                    color: "green",
                    opacity: 0.5
                }
            }
        }
    }
});
</script>