Automatic make figure from dia-file