You are not allowed to do that. See yEd Software License Agreement, 1. LICENSE CONDITIONS:
The Software may not be used as part of an automated process.