Convert dotdraw plugin to new interface