Skip to content
Snippets Groups Projects
Commit c23b6e3b authored by Oscar Gustafsson's avatar Oscar Gustafsson :bicyclist:
Browse files

Draw schedule lines using a single spline

parent 18dff2c9
No related branches found
No related tags found
1 merge request!490Draw schedule lines using a single spline
Pipeline #158930 passed
......@@ -29,6 +29,9 @@ before_script:
# - lcov --list coverage.info
# - find . -name '*.gc*' -delete
artifacts:
paths:
- result_images/
when: always
reports:
coverage_report:
coverage_format: cobertura
......
......@@ -9,7 +9,7 @@ OPERATION_GAP: float = 0.5
SCHEDULE_OFFSET: float = 0.2
SPLINE_OFFSET: float = 0.2
SPLINE_OFFSET: float = 0.5
# Colors for architecture Digraph
PE_COLOR = (0, 185, 231) # LiuBlue
......
......@@ -1120,13 +1120,10 @@ class Schedule:
[
start,
[start[0] + SPLINE_OFFSET, start[1]],
[start[0] + SPLINE_OFFSET, (start[1] + end[1]) / 2],
[start[0], (start[1] + end[1]) / 2],
[start[0] - SPLINE_OFFSET, (start[1] + end[1]) / 2],
[start[0] - SPLINE_OFFSET, end[1]],
end,
],
[Path.MOVETO] + [Path.CURVE4] * 6,
[Path.MOVETO] + [Path.CURVE4] * 3,
)
else:
path = Path(
......
test/unit/baseline_images/test_schedule/test__get_figure_no_execution_times.png

49.4 KiB | W: | H:

test/unit/baseline_images/test_schedule/test__get_figure_no_execution_times.png

49.7 KiB | W: | H:

test/unit/baseline_images/test_schedule/test__get_figure_no_execution_times.png
test/unit/baseline_images/test_schedule/test__get_figure_no_execution_times.png
test/unit/baseline_images/test_schedule/test__get_figure_no_execution_times.png
test/unit/baseline_images/test_schedule/test__get_figure_no_execution_times.png
  • 2-up
  • Swipe
  • Onion skin
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment