Edit this page

redraw

Redraws the Connection with the given options.

Parameters

options Object optionalThe new options for the connection. This object should follow the configuration structure.
Example - changing the Connection after it has been added
<div id="diagram"></div>
<script>
    var Point = kendo.dataviz.diagram.Point;
    var diagram = $("#diagram").kendoDiagram({ }).getKendoDiagram();
    var connection = diagram.connect(new Point(10,10), new Point(200,70));

    connection.redraw({
        stroke: {
            color: "orange"
        },
        points:[new Point(200,10)]
    });
</script>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy