Added an API route for generating UML Diagram, and another for adding the generated diagram to the markdown file. Also made changes to the next config file to set a loader for some node modules.
1. You will get the relative image url for the UML file generated
2. Load the markdown for the logged in user's particular repository and append the url \['\\n '\] in the content.
3. redirect to the dashboard
Added an API route for generating UML Diagram, and another for adding the generated diagram to the markdown file. Also made changes to the next config file to set a loader for some node modules.