Skip to content
Snippets Groups Projects
Commit 5a5ccd32 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
No related merge requests found
Pipeline #158926 failed
......@@ -28,7 +28,10 @@ before_script:
# - lcov --output-file coverage.info --extract coverage.info $PWD/src/'*' $PWD/b_asic/'*'
# - lcov --list coverage.info
# - find . -name '*.gc*' -delete
- zip result_images.zip -r result_images/
artifacts:
paths:
- result_images.zip
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(
......
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