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
|
We need to develop a control or view like the one show below to display nodes in a wireless mesh network and their links and link strengths. Is this kind of result possible with WPF Diagrams. Can WPF Diagrams: 1. Handle display of link strengths on the link lines? 2. Provide scrolling when the network is bigger than the current view window. 2. Provide zoom. |
|
|
Hello Yes all these things are achievable in WPF Diagrams. 1. Connections are able to display labels. The content of the label can be set using the Data property on connection models. It looks like some of the connections in your image have 2 labels. Here is a forum thread which includes a sample of how to have multiple labels on a connection: http://www.mindscapehq.com/forums/Thread.aspx?ThreadID=4382 2. The diagram surface provides scroll bars for scrolling the diagram if it doesn't all fit. 3. Various zoom modes are available such as 'mouse wheel' or 'ctrl + mouse wheel' which can be specified by setting the ZoomMode property on the DiagramSurface. You can also change the zoom using custom logic by setting the Zoom property. You can also bind this value to a slider control. Let us know if you have more questions about getting started. |
|