Nevron Forum

Customizing layouts

https://www.nevron.com/Forum/Topic2939.aspx

By Kirill Shemanayev - Monday, January 25, 2010

What customization is available for layouts? Is there any documentation of how to override the NGraphLayout methods? The following presents the major problems we are currently facing in the existing NLayeredGraphLayout class:

1. Edges of multiple siblings do not merge and may produce a diagram with too many lines. The attached image shows the existing and desired edge layout.

2. Children vertices do not always appear centered under their corresponding parent vertex, see the second attached image and the sample project that produced the image.

Thank you!
Kirill

By Pavel Vladov - Tuesday, January 26, 2010

Hi Kirill,

as I see from the attached images, your diagram is a tree. If that's the case I suggest you try some of the tree layouts. They give you more control on the layouting process and the only requirement is your diagram to be a tree, not a generic graph as in the case of the layered graph layout.

Let me know if you have any questions or if you need assistance.

Best Regards,
Pavel

By Kirill Shemanayev - Tuesday, January 26, 2010

Our diagrams are not always trees, so we cannot use tree layouts. In my sample CFC1 has multiple parents: ACORP, BCORP, CCORP etc, all of them having one common parent PCORP.

Any ideas of how two address our two major issues with layouts would be appreciated.

Thank you.
Kirill

By Nevron Support - Thursday, January 28, 2010

Hi Kirill,

 

We are working to implement this functionality to the Layered Graph layout in the next service pack.

 

Please excuse us for any inconvenience.

By Nevron Support - Monday, March 1, 2010

Hello Kirill,

 

We have released the service pack for Nevron .NET Vision and we have implemented the required functionality to the Layered Graph layout of the Diagram.

You can now download it from the public downloads section.

 

Please, let us know if you have any questions or comments.