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.

DirectedTreeLayout and hiding child nodes

Thread ID:

Created:

Updated:

Platform:

Replies:

102581 Feb 12,2012 07:17 PM Feb 17,2012 11:40 AM WPF 3
loading
Tags: Diagram
Mary Fontana
Asked On February 12, 2012 07:17 PM


I am using DiagramTreeLayout.
For a given node, I have a menu option that allows a selected child of the node to be hidden/collapsed.


However what I want is for the tree to redisplay as if the child was not there. So the siblings of the child hidden would shift.

For example:

Parent

Child1 Child2 Child3 Child4


If I collapse/hide child2 and child3


I get this with "Child1" and "Child4" in the same postion

Parent
Child1 Child4


But I want:

Parent
Child2 Child4


Should I instead remove the child node from the tree instead of just hiding them? And if so, how do I redisplay the view. Also I want the ability to show a removed/hidden node.


Thanks in advance

Mary





Mary Fontana
Replied On February 12, 2012 07:23 PM

The spaces between the child node didnt show up in my last post

What I was trying to illustrate is


________________Parent_______________

_Child1____Child2_______Child3_____Child4

Hide Child2 and Child3

________________Parent___________________

_Child1_____________________________Child4

But I want it to redisplay as

________________Parent_______________________

_____________Child1______Child3______________


and Then if the use selects the parent menu item to view Child3 again it would display:

________________Parent_________________________

_____Child1_______Child2_____Child3


Ramya Thirugnanam [Syncfusion]
Replied On February 15, 2012 11:13 AM

Hi Mary,

With regards to DirectedTreeLayout and hiding child nodes, we are analyzing your requirement. We will update you the status of your requirement on February 17th 2012.

Regards,
Ramya





Ramya Thirugnanam [Syncfusion]
Replied On February 17, 2012 11:40 AM

Hi Mary,
With regards to DirectedTreeLayout and hiding child nodes,The Directed-Tree layout allows you to arrange the nodes in a tree-like structure. This layout can be applied to any diagram that comprises a directed tree graph with unique root and child nodes. This makes creating diagrams easier because the node position is determined automatically, based on the connections. However, it is necessary to specify a layout root for the tree layout. The Directed-Tree layout will position the nodes based on the layout root.Currently we do not have a support to achive your requirement.

In order to have a better track with this, please create your customer account in Direct Trac and open a new incident so that we will assist you accordingly.

Our Direct Trac support system can be accessed from the following link:

Link: https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents

For more information, you can contact our sales team at salessupport@syncfusion.com

Please let us know if you have any concerns.
Regards,
Ramya



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.

;