added documentation and example for drawing manager directive