bra1nDump / show-me-chatgpt-plugin

Create and edit diagrams in ChatGPT
https://showme.redstarplugin.com
675 stars 70 forks source link

while trying to change the font style in the diagram ,issue encountered #23

Open mohanreddy7892 opened 1 year ago

mohanreddy7892 commented 1 year ago

{ "mermaid": "graph LR\n classDef style font-family:Arial, sans-serif;\n class Application,Job1,Job2,Job3,Script,A,B,C,D,E,F,G,H,I,X,Y,Z style\n subgraph Application[\"Application\"]\n style Application fill:#99cc99,stroke:#333,stroke-width:2px\n subgraph Job1[\"Job1: Check File Availability\"]\n style Job1 fill:#99cc99,stroke:#333,stroke-width:2px\n A[\"NAS Path\"] --> B{Check CSV File}\n B -- \"File Exists\" --> C{Read Content}\n B -- \"File Does Not Exist\" --> X[\"Return Exit 2\"]\n C -- \"Pipe Separated Data\" --> D[\"Provide Permission to User\"]\n C -- \"Not Pipe Separated Data\" --> Z[\"Return Exit 8\"]\n end\n D --> Job2\n subgraph Job2[\"Job2: Move File to Archive\"]\n style Job2 fill:#99cc99,stroke:#333,stroke-width:2px\n F[\"Move to Archive Path\"]\n end\n F --> Job3\n subgraph Job3[\"Job3: Verify Data in Database\"]\n style Job3 fill:#99cc99,stroke:#333,stroke-width:2px\n G[\"Verify Data in Table\"]\n end\n end\n subgraph Script[\"Script Execution\"]\n style Script fill:#99cc99,stroke:#333,stroke-width:2px\n H{Check Script Execution} -- \"Script Executed\" --> I[\"Continue\"]\n H -- \"Script Not Executed\" --> Y[\"Return Exit 8\"]\n end" }

{ "results": [ { "errorMessage": "GPT created an invalid mermaid.js diagram, you can try again or edit it online", "editDiagramOnline": "https://showme.redstarplugin.com/s/2JHAcv7l", "contributeToOpenSourceProject": "https://github.com/bra1nDump/show-me-chatgpt-plugin/issues" } ] }

I apologize for the inconvenience. It seems there was an error in generating the diagram with the new font style. However, you can edit the diagram online to change the font style or any other aspect of the diagram.