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
|
Jason, I am wondering if these two things are possible. 1) Different connection label location. Right now, the default location is the start point of the first segment. The problem is that if a node has multiple connections at its bottom, the labels will overlapping with each other. If we change the label position to the start point of the the first horizontal segment, and always follow the connection, then the display will be better. 2) Multiple line movers. It seems that there is only one line mover for each free segments of a connection. The problem is that sometimes the connections could be really long in my diagram, and it is not so convenient to scroll and find where the line mover is. Best, Xiaochu |
|
|
Hello Xiaochu Changing the position of the connection labels is not yet a built in option, but it is still possible by creating a custom connection style. I've attached a couple of demo projects that should help you with this. One of them places the connection label roughly in the center of the connection with the use of a converter. The other demo display 2 connection labels - the additional label being displayed at the destination of the connection. The issue with the line movers should also be possible by customizing the connection style/template. There are 4 possibilities I can think of, one is as you suggested to have multiple segment movers along each segment. Another option that may be easier is to still have one segment thumb per segment, but have that thumb occupy the entire length of the segment. This way, anywhere along the segment you put the mouse, it will show the double-arror cursor and allow you to drag the segment. The downside to this approach is that you would no longer be able to drag new connections off of existing connections. The third option would be to implement corner thumbs which would adjust the position of the two segments that make up the corner. And the last option would be to somehow cause the existing segment thumbs to always be displayed on the screen for very long segments. Unfortunately I don't have time to create demos for these, but let me know if you have questions about the approach you take. If you start implementing this using one of the demos I attached, that would serve as a good repro project if you need me to take a look at what you implement. -Jason Fauchelle |
|
|
Jason, Thank you for your suggestion. For the second problem of line movers, I tried the forth option, which is to always display the line mover inside the screen. It works pretty well. For the first problem, I changed a little of logic in the converter to display the connection label at the Startpoint of the first horizontal segment. It works sometimes, but there are two problems I saw. 1) When I move the segments, the label does not follow (picture 2) 2) When I move the right star, everything is good, i.e. the label follows the line and the line routing favor the user adjustment (picture 3). But when I move the left star, the routing goes back to the default routing, and the user adjustment is lost. (picture 4) Best, Xiaochu |
|
|
Hello Xiaochu Thanks for pointing these out. Both of these issues will be resolved in the next nightly build. I'm glad to hear that option 4 worked out well. -Jason Fauchelle |
|
|
Jason, Tested and working perfectly. Thank you! Xiaochu |
|