]> Repositorios git - classgraph.git/commit
Don't draw the superclass class node when an instance matches locally
authorJavier Sagredo <[email protected]>
Wed, 6 May 2026 22:11:33 +0000 (00:11 +0200)
committerJavier Sagredo <[email protected]>
Wed, 6 May 2026 23:51:06 +0000 (01:51 +0200)
commit0c961c3289cc8cba51490b528a7d5881ebddd14e
tree4b403d0ad16a855f34202baa968dad20d1a1001a
parent5a2be0df3fe2a30650cb450636512b14943264db
Don't draw the superclass class node when an instance matches locally

Previously every "superclass needed" arrow pulled in both the matched
instance node *and* a class node for the superclass — joined to the
matched instance by an extra "defines" edge. The class node duplicated
information already on the matched-instance label, just adding clutter.
Restrict the class-node side to the no-local-match branch, which still
needs somewhere for its needs-external edge to terminate.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
data/viewer.js