Opened 7 years ago
Last modified 4 years ago
#4956 new enhancement
Color and width of connecting lines — at Version 1
Reported by: | massimo ceraolo | Owned by: | Adeel Asghar |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | OMEdit | Version: | |
Keywords: | Cc: |
Description (last modified by )
When drawing connecting lines OMEdit correctly uses as color the lineColor of the connector the line starts from.
When we connect two expandable connectors to each other this implies the connecting lines to be black, which is not optimal. To improve the final result, I propose that when we start a connecting line from an expandable connector we use, as line color, the color of the pixel the drawing line is started from.
I think Dymola uses this technique. I enclose two pictures showing both results.
Furthermore, OMEdit uses ticker lines when connecting two expandable connectors. This is useful and nice, since it recalls that that is a channel for signal, possibly carrying many signals simultaneously.
Thick lines are used also when connecting model arrays. When connecting an expandable connector to a scalar model, however, thin lines should be used. Currently OMEdit uses a thick line if the drawing starts from the expandable connector, a thin one if the reverse is true. I understand that when a connecting action is initiated from an expandable connector the line should be initially be drawn as think (OMEdit does not know the connection target). But when the connection is finalised, if the other-side connector is a regular (non array, non-expandable) connector, the final thickness should be converted into thin.
Change History (3)
by , 7 years ago
Attachment: | Simplest.svg added |
---|
by , 7 years ago
Attachment: | Simplest.png added |
---|
comment:1 by , 7 years ago
Description: | modified (diff) |
---|---|
Summary: | Color of connecting lines → Color and width of connecting lines |