←
Edit Project: Brainstorm_code_editor
▶
Editor
Todo
Shell
View Version History
Select a file
initial_prompts
versions.json
design-flow-diagram.txt
.htaccess
saving_credits_with_incremental_updates
drawio.php
example.drawio
Create New File
Choose File
Upload
<?xml version="1.0" encoding="UTF-8"?> <mxfile host="app.diagrams.net" modified="2024-11-16T12:00:00.000Z" agent="Mozilla/5.0" version="21.6.6" type="device"> <diagram name="AI Code Editor Flow" id="ai-code-editor-flow"> <mxGraphModel dx="1422" dy="798" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0"> <root> <mxCell id="0"/> <mxCell id="1" parent="0"/> <!-- User Interface Group --> <mxCell id="2" value="User Interface" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" vertex="1" parent="1"> <mxGeometry x="40" y="40" width="200" height="200" as="geometry"/> </mxCell> <mxCell id="3" value="Code Editor" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1"> <mxGeometry x="60" y="80" width="160" height="40" as="geometry"/> </mxCell> <mxCell id="4" value="User Input/Request" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1"> <mxGeometry x="60" y="140" width="160" height="40" as="geometry"/> </mxCell> <mxCell id="5" value="Request Type" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1"> <mxGeometry x="80" y="200" width="120" height="120" as="geometry"/> </mxCell> <!-- AI Processing Group --> <mxCell id="6" value="AI Processing" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" vertex="1" parent="1"> <mxGeometry x="320" y="40" width="200" height="400" as="geometry"/> </mxCell> <mxCell id="7" value="Generate Test Cases" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1"> <mxGeometry x="340" y="80" width="160" height="40" as="geometry"/> </mxCell> <mxCell id="8" value="Generate Implementation" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1"> <mxGeometry x="340" y="140" width="160" height="40" as="geometry"/> </mxCell> <mxCell id="9" value="Analyze Current Code" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1"> <mxGeometry x="340" y="200" width="160" height="40" as="geometry"/> </mxCell> <!-- File Management Group --> <mxCell id="10" value="File Management" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" vertex="1" parent="1"> <mxGeometry x="600" y="40" width="200" height="200" as="geometry"/> </mxCell> <mxCell id="11" value="Update Type" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1"> <mxGeometry x="640" y="80" width="120" height="120" as="geometry"/> </mxCell> <!-- Test Runner Group --> <mxCell id="12" value="Test Runner" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" vertex="1" parent="1"> <mxGeometry x="600" y="280" width="200" height="160" as="geometry"/> </mxCell> <mxCell id="13" value="Run Tests" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1"> <mxGeometry x="620" y="320" width="160" height="40" as="geometry"/> </mxCell> <!-- Connections --> <mxCell id="14" value="" style="endArrow=classic;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="3" target="4"> <mxGeometry width="50" height="50" relative="1" as="geometry"/> </mxCell> <mxCell id="15" value="" style="endArrow=classic;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="4" target="5"> <mxGeometry width="50" height="50" relative="1" as="geometry"/> </mxCell> <!-- Add more connections as needed --> <!-- Labels --> <mxCell id="16" value="New Feature" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1"> <mxGeometry x="200" y="180" width="80" height="20" as="geometry"/> </mxCell> <mxCell id="17" value="Code Fix" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1"> <mxGeometry x="200" y="240" width="60" height="20" as="geometry"/> </mxCell> <mxCell id="18" value="Refactor" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1"> <mxGeometry x="200" y="300" width="60" height="20" as="geometry"/> </mxCell> </root> </mxGraphModel> </diagram> </mxfile>
Save Changes
Project Languages
✓
PHP
JavaScript
HTML
CSS
Python
Java
C#
C++
Ruby
Go
Save Languages
Ask AI
Preview Request
Generated Code
Ask Claude AI to write code
Preview Request
Request to be sent:
Generate Code
Generated Code:
Accept Generated Code
Debug Information:
Add
install draw.io on mac (https://github.com/jgraph/drawio-desktop/releases)
×
Start planning the project
×