- Added validation and exception messages when pool, lane, element or connection are not added to the diagram.
- text2diagram.render() now return generated code and the diagram in PIL.Image format
- Accommodate for extra tabs, spaces and newline characters when generating diagram using plain text method.