optimize function process() in class DotWriter
move DotWriter and DotRenderer to new file export.py;
make imports more explicit
implement style support (partially)