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

   ## Context
   
   The removed Graph tab (`com.intellij.struts2.graph`, PR #94) used the merged 
`StrutsModel` and could display actions/results from **all** `struts.xml` files 
in a Struts file set, grouped by source file (other files collapsed).
   
   The Diagram tab is intentionally **file-local** today — only 
packages/actions/results from the opened file are shown 
(`StrutsConfigDiagramModelTest` asserts this).
   
   ## Proposal
   
   Add an optional or default mode to include nodes from other files in the 
same Struts file set, with visual grouping by source file.
   
   ## Acceptance criteria
   
   - [ ] Diagram can show actions/results from sibling `struts.xml` files in 
the same Struts file set
   - [ ] Nodes are grouped by source file (filename label; collapsible groups 
preferred)
   - [ ] Local vs external-file nodes are visually distinguishable
   - [ ] File-local-only mode remains available (or is the default) for focused 
editing
   
   ## References
   
   - `StrutsConfigDiagramModel.getLocalPackages()` — current file-local scope
   - Legacy `StrutsDataModel.updateDataModel()` — iterated 
`model.getStrutsPackages()` with per-file grouping


-- 
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