I wish to make a custom element BoxGraph, which combines graph and list of box.
It is designed to highlight the patch wise relationship within 1 image.
Can you give me some tips on implementing this?
i just started reading the source, and what I gathered so far:
- create BoxGraph under element, which inherits Graph
- -should I inherits Rectangles as well, would it messes up the mro?
- create BoxGraphPlot under plotting/boheh, which inherits GraphPlot
- similarly, should I inherits RectanglesPlot as well?
- register in
and mostly importantly, what are the minimum class functions I need to overwrite to make it work?