BoldDeskWe are launching BoldDesk on Product Hunt soon. Learn more & follow us.
Hi Jim
Thanks for using Syncfusion products.
We are glad to inform you that we have created a diagram builder sample which satisfies your requirement of Editable segments on the connector and sample is attached below.
Here is the code snippet to create connectors.
<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
<ej:Diagram ID="Diagram1" runat="server" Height="600px" Width="100%"></ej:Diagram>
Connector connector = new Connector();
connector.Name = "Connector";
Segment seg = new Syncfusion.JavaScript.DataVisualization.Models.Diagram.Segment(Segments.Orthogonal);
connector.Segments.Add(seg);
connector.SourcePoint
= new DiagramPoint(0, 0);
connector.TargetPoint = new DiagramPoint(40, 40);
connector.LineWidth = 2;
Diagram1.Connectors.Add(connector);
Please let me know if any concerns.
Regards,
Shyam G.
Hi
Jim
Thanks for the update.
Query |
Response |
Were these handles introduced in a more recent release? |
Yes,
these handles introduced in a more recent release of volume 3,2014(12.3.0.36) |
Please let me know if any concerns.
Regards,
Shyam
G
Hi Jim
Please ignore our previous update.
Please note that we have some changes in creating connectors in our current release(12.3.0.36). “Line” is deprecated and we use “segments” now. The property “startpoint” and “endpoint” is deprecated and we use “SourcePoint” and “TargetPoint” now. Please see the code snippet below for creating connectors.
Here is the code snippet
<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
<ej:Diagram ID="Diagram1" runat="server" Height="600px" Width="100%"></ej:Diagram>
Connector connector = new Connector();
connector.Name = "Connector";
Segment seg = new Syncfusion.JavaScript.DataVisualization.Models.Diagram.Segment(Segments.Orthogonal);
connector.Segments.Add(seg);
connector.SourcePoint = new DiagramPoint(0, 0);
connector.TargetPoint = new DiagramPoint(40, 40);
connector.LineWidth = 2;
Diagram1.Connectors.Add(connector);
We are glad to announce that our Volume 3 2014 is rolled out and is available for download under the following link.
you can download the above volume 3 final release and check the diagram builder sample for further reference.
Location for diagram builder sample in ASP.NET is shown below
C:\Users\labuser\AppData\Local\Syncfusion\EssentialStudio\12.3.0.36\Web\Samples\Web\Dashboard
Please let me know if any concerns.
Regards,
Shyam G
Hi Jim
Thanks for your compliment.
Please let us know if you require further assistance on this.
Regards,
Shyam G