This Project is a PlantUML editor developed by using React and Monaco Editor packages. Users can write PlantUML codes and preview them. During the editing they can zoom in ,zoom out and drag. Once the editing is complete, they can use the downloading feature. It can be downloaded with PWA feauture to be used on mobil devices.
PlantUML Editor Demo-MehmetAkcil
- Code Editing: PlantUML code editor integrated with Monaco Editor
- PlantUML Preview: Live preview of PlantUML code in SVG format.
- Zoom in / Zoom out: Zoom in and out on the preview using the mouse wheel or buttons.
- Drag and Drop: Adjusting the position of the preview area by dragging.
- Download: Downloadable as a file after the editing is complete.
- PWA Support: Downloadable as an app when wanted to be used on mobil devices.
- Error Management: Providing feedback to the users about errors that could occur during code processing or preview loading.
- React: JavaScript Library that is used to create the user interface.
- Monaco Editor: A powerful code editor used in Visual Studio Code.
- PlantUML Encoder: A utility library used to encrypt PlanUML code and to create remote preview URL.
- Tailwind CSS: CSS Framework used to style the interface.
To run this project on your local device, follow the steps below:
- Clone the repository:
git clone https://github.com/username/plantuml-editor.git
- Navigate to the project directory:
cd plantuml-editor
- Install the required packages:
npm install
- Start the application
npm run dev
- Write or paste your PlantUML code into the code editor.
- As the code is written, an SVG image will automatically generate in the preview area.
- You can zoom in and zoom out by using Zoom In and Zoom Out buttons.
- You can adjust the location of the image by dragging it.
- When your code is complete, you can download it using the Download button.
- You can download it, when you want to use it as an app on your mobile device.
- In cases where the code is complicated or too big, preview delays could ocur.
- In case of invalid code inputs, SVG preview may not load.
If you want to develop or contribute to this project:
- Fork the project.
- Create a branch:
git checkout -b feature/ozellik-adi
- Apply your changes and commit:
git commit -m "New feature has been added"
- Send the branch:
git push origin feature/ozellik-adi
- Open a pull request.
If you want to contribute to this Project, you can follow the steps below:
- Fork the repository.
- Create a branch to add new features or to fix bugs
- Do your changes in this branch
- Commit your changes and open a pull request
This Project has been licensed with MIT. For further information, check LICENSE file.