Tie connection lines to a fixed point on the line ending icon #229
Comments
This is tricky because connecting to the inner portion of event data port can have a ugly graphical artifacts for connections from outside the component. I believe this would only affect event data ports since event ports and data ports are only composed of a single graphical element. However, we'll consider this after we have moved to GEF5. |
I'd also like to have the requested functionality. @philip-alldredge, I don't understand your comment. Each feature could have two anchor points to which all lines connect. One for connections from outside the component, the other one for connections/flow specs inside the component. |
@lwrage I'm having trouble understanding my comment as well. I think I had misunderstood things and were considering that the issue was it connecting to the outer section of the event data port. That was something that was shown in a different issue. But having fixed points seems reasonable. |
@smithdtyler @lwrage |
@philip-alldredge Looks reasonable to me, thanks! |
But this will look bad if several connections come in (via an in event port) at different angles because they all connect to the tip of the event port. Also, the arrow of the flow path specs overlaps the event port symbol. How about pretending the event port symbol is a triangle where the base is invisible. We could then connect to the midpoint of that invisible base. Obviously, there will be an interruption in the line. with this approach. |
@lwrage I agree that this does have it's own set of issues. Here is an example of presenting the feature is a triangle. As first glance it looks odd, but perhaps it is something that wouldn't look strong once the user was familiar with it. |
Implemented in c4cc595. The implementation uses Lutz's suggestion of pretending the event port symbol is a triangle. |
When displayed lines are tied to an arbitrary point on the line ending icon, the icon often looks out of place.
In this example, it's hard to tell whether the connection is actually related to its ending "arrow" icon.
When the line is visually tied to the "in" or "out" face of the ending icon, the composition is clearer (implemented below with a hand-added curve in the line):
The text was updated successfully, but these errors were encountered: