This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi Chaps I'm creating a tool to visualise a data driven questionairre. I thought an activity diagram would be most suitable so Ive copied the sample app code and styles etc. However, I cant figure out how to get the diagram to automatically lay itself out. So you have any code in the samples that does this? Thanks |
|
|
Hello Jonesie That sample does not contain any code that automatically lays out the diagram. You could use one of the layout algorithms that comes with WPF Diagrams. The HierarchicalLayoutAlgorithm or TreeLayoutAlgorithm would be best for activity diagrams. You can look at the LayoutAlgorithmExplorer for examples of how to use this. Jason Fauchelle |
|
|
Cool, that's exactly what I was looking for. Cheers |
|