Commit Graph

3 Commits

Author SHA1 Message Date
Emmanuel Lepage Vallee 3fd4205b7b graph: Remove `step_width` from the hook callback.
It is always the same as `opts.graph.step_width`, so the extra
callback argument isn't needed.
2021-05-22 03:37:05 +07:00
Emmanuel Lepage Vallee 39a6a37bfc graph: Make the `opts` read only, apply name convention and fix doc. 2021-05-22 03:37:05 +07:00
Alex Belykh a95f9bc3e5 Add an example file for graph:step_hook() callback
It shows how one could even draw graphs with bezier curves,
if anyone would for some reason want that.
2021-05-22 03:37:05 +07:00