Skip to content

feat: show assembly volumes with dashed border in npdet_to_dot#70

Open
wdconinc wants to merge 1 commit into
mainfrom
assembly-dot
Open

feat: show assembly volumes with dashed border in npdet_to_dot#70
wdconinc wants to merge 1 commit into
mainfrom
assembly-dot

Conversation

@wdconinc
Copy link
Copy Markdown
Contributor

@wdconinc wdconinc commented May 29, 2026

Briefly, what does this PR introduce? Please link to any relevant presentations or discussions.

The npdet_to_dot tool previously rendered all volumes identically regardless of their type. This PR makes assembly volumes (TGeoVolumeAssembly) render with a dashed box outline, visually distinguishing them from regular encapsulating volumes (solid border).

What is the urgency of this PR?

  • High (please describe reason below)
  • Medium
  • Low

What kind of change does this PR introduce?

  • Bug fix (issue #__)
  • New feature (issue #__)
  • Optimization (issue #__)
  • Updated documentation
  • other: __

Please check if any of the following apply

  • This PR introduces breaking changes. Please describe changes users need to make below.
  • This PR changes default behavior. Please describe changes below.
  • AI was used in preparing this PR. Please describe usage below.

Assembly volumes (TGeoVolumeAssembly) are now rendered with a dashed
box outline in the DOT output to visually distinguish them from regular
encapsulating volumes, which keep a solid border.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@wdconinc wdconinc requested review from a team and Copilot May 29, 2026 21:04
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates npdet_to_dot so generated Graphviz output visually distinguishes TGeoVolumeAssembly nodes from regular volumes by rendering assemblies with dashed borders.

Changes:

  • Documents the dashed-border convention for assembly volumes in the tool header comment.
  • Adds per-node DOT style output, using filled,dashed for assemblies and filled otherwise.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@wdconinc wdconinc enabled auto-merge (squash) May 29, 2026 21:13
@wdconinc
Copy link
Copy Markdown
Contributor Author

Now looks like this:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants