Adding Arrows to Physical Links: Rendering
Phil Weinstein, CADSWES, 10-31-2013 (c)
Here is a full screenshot with "jury rigged" link arrows. They are currently drawn to linked physical slots having "Inflow" in their name.
Two Interesting Minor Issues (not difficult to fix):
(1) When SimObj labels are above or below the SimObj icon, I need to compute a different "target rectangle" for the arrow head point. Otherwise long text labels cause the arrow to be too far from the icon.
Animation: |
Still: |
(2) With link lines thicker than one pixel, the arrow stem needs to be "moved back". I believe there are actually TWO distinct probelms. When the arrow is shown ... (a) The Pen Cap Style needs to be "Flat" rather than "Square", and (b) The stem needs to be drawn to only the base of the arrow, not to the arrow point.
---