SlicerLatinAmerica / TutorialMaker

1 stars 5 forks source link

More directions on the arrows #17

Closed DouSam closed 2 months ago

DouSam commented 6 months ago

Add more directions to the arrows, like the diagonals.

DouSam commented 6 months ago

One suggestion, try to create a generic function to create the arrows in all directions. I see in the code the directions are hard-coded.

enriquehdez98 commented 6 months ago

I have worked on the generation of arrows in more directions in the Painter part (program process that generates the images that are shown in the HTML and md) here I show the result:

Capture

Note: The end user will not yet be able to create arrows in these directions, for that it will be necessary to wait for the update by @vmms, who will include this function directly in the user interface.

You can find the detail on the following code: https://github.com/SlicerLatinAmerica/TutorialMaker/blob/painter/enrique-code/TutorialMaker/Lib/painter.py

DouSam commented 2 months ago

I will close this issue, once we have another issue opened for that improvement and now the extensions already have more directions to drow the arrow.