We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Add nodes and automatically link them

Thread ID:

Created:

Updated:

Platform:

Replies:

98580 Mar 9,2011 04:11 PM May 20,2011 02:05 AM Windows Forms 13
loading
Tags: Diagram
edward
Asked On March 9, 2011 04:11 PM

Write greetings from Venezuela, I want to do the following in a diagram, add a node to a node already created in the diagram, I mean do I select a node and right click and shows me the option to add a child node, the node should join automatically,
I'm using VB 2008 V 7.3.0.20 with essential study

I apologize for my bad English

I attached a picture to better understand

Edward Montiel



Imagen1_b168eed1.rar

Amsath Ali M [Syncfusion]
Replied On March 10, 2011 07:52 AM

Hi Edward,

Thanks for using Syncfusion products.

We have created a sample project to meet your requirement.

Please try the below sample and let me know your concerns.

DyanmicDiagramInVB-1476100822.zip

Regards,
Amsath ali.M



edward
Replied On March 11, 2011 10:59 PM

Greetings,
thanks, worked for what I wanted to achieve,
Now I pose the following problem:

My program is to take control of the hypothesis, which identifies with the colors:
validated = yellow
discarded = red
slope = gray
What I do is let me do the count of each type of scenario as an example:
total of 20 hypotheses were that:
10 were valid
5 were discarded
Five are pending

as a second problem, some hypothesis must have recommendations, I need an event that allows me to add recommendations to save and print a final report saying they belonged.


I hope you can help me

Edward Montiel


Amsath Ali M [Syncfusion]
Replied On March 16, 2011 07:03 AM

Hi Edward,

Thanks for using Syncfusion products.

Since we are not able to get your actual requirement in your query, could you please share us more information/screenshot which will be of more helpful for us to investigate further on this and provide a better solution to you?

Regards,
Amsath Ali M



edward
Replied On March 22, 2011 04:50 PM

Annex document which shows what I need

Regards,

Edward Montiel



Diagram_6c2b5b7a.rar

Amsath Ali M [Syncfusion]
Replied On March 23, 2011 03:35 AM

Hi Edward,

Thanks for the update.

We have created a simple sample to achieve your requirement.

Please try the below sample and let me know your concerns.

DynamicDiagram954070810.zip

Regards,
Amsath Ali.M



edward
Replied On March 24, 2011 10:34 AM

very grateful, Amsath Ali.M

the example that I received was very helpful and do what I wanted to achieve,
now could help me with the following:
I need to change when the hypotheses discarded automatically deleting the child nodes.
and please I have a problem with expand and collapse, the examples in the forum does not help me, I can not do with them.

Regards,
Edward Montiel


Amsath Ali M [Syncfusion]
Replied On March 29, 2011 01:36 AM

Hi Edward,

Sorry for the delay in getting back to you.

We have created simple samples to achieve your requirement.

Please try the below samples and let me know your concerns.

1.Deleting discarded nodes automatically.
DynamicDiagram143455485.zip

2.Expander/Collapse sample.
Expander1628247887.zip

Regards,
Amsath Ali.M



edward
Replied On April 4, 2011 10:36 AM

I do not really served to make my request, the example automatically delete the hypothesis fails to adapt to my program, and expand and collapse there is no other method than the one outlined in the example.
another point I need the code example in VB ..

I would appreciate if you help me ..

Regards,
Edward Montiel


Amsath Ali M [Syncfusion]
Replied On April 5, 2011 06:50 AM

Hi Edward,

Sorry for the inconvenience caused.

Since we are not able to get your actual requirement in your query “I need to change when the hypotheses discarded automatically deleting the child nodes”. Could you please share us more information/Screenshot which will be more helpful for us to provide a better solution to you?
We have created a simple sample for Expand/collapse in VB.

Please try the sample below and let us know if you have any other queries.
Expander in VB575492218.zip

Regards,
Amsath Ali. M




ed
Replied On May 10, 2011 10:17 AM

Greetings again,
I have this little problem I hope I can help I attached a file with an interactive video and the txt file the function I use to sort the nodes

Edward Montiel



Program_82305a2b.rar

Amsath Ali M [Syncfusion]
Replied On May 13, 2011 09:05 AM

Hi Edward,

Thanks for the update.

Since we are not able to get your actual requirement in your query. Could you please share us more information probably a sample which will be more helpful for us to provide a better solution to you?

Regards,
Amsath


ed
Replied On May 13, 2011 10:12 AM

Good morning,
an attempt to explain in the video to attach .. when I add a new sub-node in a sub called to order the diagram ... when you make this part of the node SELECTED automatically placed on the left side and lost the sequence that led ..
failed to see the video?
simplenete item is in "LayoutManager" when applied to me to explain this

as applied
Private Sub sort ()
Me.diagram.View.SelectionList.Clear ()
Dim manager As New OrgChartLayoutManager OrgChartLayoutManager = (Me.diagram.Model, RotateDirection.TopToBottom, 20, 50, LayoutType.Horizontal, 10)
Me.diagram.LayoutManager = manager
Me.diagram.LayoutManager.UpdateLayout (Nothing)
Me.diagram.UpdateView ()
End Sub

Regards,
Edward Montiel


Amsath Ali M [Syncfusion]
Replied On May 20, 2011 02:05 AM

Hi Edward,

Thanks for the update.

Regarding your query, “Nodes are not properly sorted while applying layouts”. The layout managers automatically arrange the parent nodes based on the child counts and this is the default behavior of the Layout managers.

Please let us know if you have any other concerns.

Regards,
Amsath Ali. M



CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;