douglasoliveira10/javadraw ? reverse-engineered prompt
Reverse engineered prompt
Build me a tool that reads compiled Java code and turns it into an interactive HTML diagram I can explore in the browser.
I want to point it at a folder of class files or a jar, and have it generate a self contained page where I can pick a starting class, expand related classes one by one, and see the relationships between them. The diagram should show classes, fields, methods, inheritance, usage links, and method call arrows. It should also let me hide and show members, drag things around, select multiple items, align or space them out, and auto arrange the layout when I want.
Please make it save automatically in the browser, and let me export and import the diagram as JSON, plus export a PNG too. It should work offline once generated. If needed, look up the current docs for the diagram and layout libraries online so the implementation is up to date.
Are you gonna build this?
make sure you review the code using coderabbit