Skip to content

Commit

Permalink
Add triangle and quadrilateral tools to the graph tool.
Browse files Browse the repository at this point in the history
These were requested by Robin Cruz in
https://webwork.maa.org/moodle/mod/forum/discuss.php?d=8646.

The usage of the new tools is documented in the parserGraphTool.pl
macro.
  • Loading branch information
drgrice1 committed Feb 11, 2025
1 parent c5590e3 commit d88fb39
Show file tree
Hide file tree
Showing 6 changed files with 1,325 additions and 7 deletions.
8 changes: 8 additions & 0 deletions htdocs/js/GraphTool/graphtool.scss
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,14 @@
&.gt-sine-wave-tool {
background-image: url('images/SineWaveTool.svg');
}

&.gt-triangle-tool {
background-image: url('images/Triangle.svg');
}

&.gt-quadrilateral-tool {
background-image: url('images/Quadrilateral.svg');
}
}
}

Expand Down
6 changes: 6 additions & 0 deletions htdocs/js/GraphTool/images/Quadrilateral.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions htdocs/js/GraphTool/images/Triangle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit d88fb39

Please # to comment.