update figure class
update figure class
edit figure as class
improve figure
edit figure.*pp, shorten the code with more functions.
debug for figure, the problem is not fixed yet, should change the node stuff, should reduce the node
figure is working