Declined
Last Updated: 04 Aug 2020 10:51 by ADMIN
Luis
Created on: 06 Apr 2016 09:27
Category: Diagram
Type: Feature Request
0
Possibility of the Diagram end user connect a shape to it self
With RadDiagram it's possible to have a shape connected to it self through ConnectionsCollection DiagramConnection declaration. 

But it would be nice if the diagram end user, using the built-in drag and drop could connect a shape to it self like it does between different shapes.

Thanks
1 comment
ADMIN
Rumen
Posted on: 04 Aug 2020 10:51

Hi Luis,

Thank you for your feature request!

The item is declined due to a lack of interest in it by the community.

Presently, the only solution is to connect the diagram shape to itself using its API:

 

<telerik:RadDiagram ID="RadDiagram1" runat="server">
    <ShapesCollection>
        <telerik:DiagramShape Id="DiagramShape1" Width="100" Height="70" X="260" Y="100" Type="rectangle">
            <ContentSettings Text="Parent" />
            <FillSettings Color="#25a0da" />
        </telerik:DiagramShape>
    </ShapesCollection>
    <ConnectionsCollection>
        <telerik:DiagramConnection StartCap="FilledCircle" EndCap="ArrowEnd">
            <FromSettings Connector="Left" ShapeId="DiagramShape1" />
            <ToSettings Connector="Top" ShapeId="DiagramShape1" />
        </telerik:DiagramConnection>
    </ConnectionsCollection>
</telerik:RadDiagram>

You can provide textboxes where the users can specify the connector position and its ShapeId to achieve a more interactive version of the static sample above.

 

Best Regards,
Rumen
Progress Telerik