lukaszlenart opened a new issue, #120:
URL: https://github.com/apache/struts-intellij-plugin/issues/120

   ## Context
   
   Follow-up to 
[#117](https://github.com/apache/struts-intellij-plugin/issues/117) / 
[#119](https://github.com/apache/struts-intellij-plugin/pull/119).
   
   The new IntelliJ **Show Diagram** host renders Struts package/action/result 
nodes with the default UML-style class boxes (header + empty body). Nodes look 
oversized and hard to read compared with the custom Swing Diagram tab (compact 
icon + label).
   
   ## Proposal
   
   Override `DiagramExtras.createNodeComponent(...)` (or use a label-node style 
similar to `CommonDiagramExtras.createLabelNode`) so nodes match the existing 
snapshot presentation: icon + name, no empty UML body.
   
   ## Acceptance criteria
   
   - [ ] Show Diagram nodes are compact icon+label (or equivalent readable 
chrome)
   - [ ] Package / action / result icons and names remain visible
   - [ ] Swing Diagram tab behavior stays unchanged while both hosts coexist
   
   ## References
   
   - `com.intellij.struts2.diagram.provider.StrutsDiagramProvider`
   - `com.intellij.diagram.extras.DiagramExtras#createNodeComponent`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to