Skip to content

feat(view): show co-tag ego graph when a tag is selected#19

Merged
kzu merged 1 commit into
mainfrom
dev/3dtags
Jul 10, 2026
Merged

feat(view): show co-tag ego graph when a tag is selected#19
kzu merged 1 commit into
mainfrom
dev/3dtags

Conversation

@kzu

@kzu kzu commented Jul 10, 2026

Copy link
Copy Markdown
Member

Summary

  • When a tag is selected, the local 3D graph shows an ego co-tag cloud instead of the empty "Select a concept" state.
  • Center node is the selected tag; neighbors are tags that co-occur on the same concepts.
  • Node size and link opacity/layout use Jaccard togetherness (with a co-count boost); neighborhood capped at 40.
  • Clicking a co-tag navigates to that tag and rebuilds the ego graph around it.

Test plan

  • okf view a bundle with multi-tag concepts (e.g. samples/the-law)
  • Select a tag from a concept's tags or the Tags panel; confirm local graph shows co-tags
  • Confirm note shows co-tag/link counts (or "No co-occurring tags" for isolates)
  • Click a neighbor tag; selection and graph update
  • Select a concept again; local graph returns to concept neighborhood
  • dotnet test --filter FullyQualifiedName~BundleViewer

Replace the empty local 3D graph on tag selection with a neighborhood
of co-occurring tags. Node size and link force/opacity use Jaccard
togetherness (with co-count boost); cap at 40 neighbors; click navigates.
@kzu kzu added the enhancement New feature or request label Jul 10, 2026
@kzu
kzu enabled auto-merge (rebase) July 10, 2026 05:11
@kzu

kzu commented Jul 10, 2026

Copy link
Copy Markdown
Member Author

74 passed 74 passed

🧪 Details on Ubuntu 24.04.4 LTS

from retest v1.1.0 on .NET 10.0.9 with 💜 by @devlooped

@kzu
kzu merged commit c7d5c36 into main Jul 10, 2026
4 checks passed
@kzu
kzu deleted the dev/3dtags branch July 10, 2026 05:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant