contex icon indicating copy to clipboard operation
contex copied to clipboard

Pluggable backend

Open axelson opened this issue 3 years ago • 1 comments

I'm thinking about how to add charts to a scenic-based project and I was thinking that Contex would be a good way to go about it. Do you think a pluggable backend would make sense for contex?

axelson avatar Jul 17 '22 18:07 axelson

In theory it shouldn’t be too hard - the SVG code is either isolated in a separate module (particularly for the new work) or clearly marked (e.g. function called to_svg). In practice, it would probably be a good idea to do a refactor first, to ensure all drawing functions are properly extracted. It should then be pretty straightforward.

mindok avatar Jul 17 '22 22:07 mindok