Skip to content

feat: Add ELK layout, node cards, line labels - #6

Merged
vaduga merged 7 commits into
vaduga:mainfrom
eminaktas:feat/label-aware-boxes
Nov 12, 2026
Merged

vaduga merged 7 commits into
vaduga:mainfrom
eminaktas:feat/label-aware-boxes

Conversation

@eminaktas

Copy link
Copy Markdown
Contributor

No description provided.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Emin Aktas <eminaktas34@gmail.com>
@github-actions

github-actions Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

All contributors have signed the CLA ✍️ ✅
Posted by the Contributor License bot.

@eminaktas

Copy link
Copy Markdown
Contributor Author

I have read the CLA Document and I hereby sign the CLA

github-actions Bot added a commit that referenced this pull request Nov 11, 2026
@vaduga
vaduga self-requested a review November 11, 2026 14:48

@vaduga vaduga left a comment •

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

@eminaktas lgtm! Thank you.

Did a few alignments to make changes optional:

  • Routed edge labels are activated explicitely in the arcStyle sideA/sideB panel config.
  • Labels are visible for focused edges by default, and can be forced to 'Always on' in panel config.
  • Flow animation is enabled with forward/backward/both direction in edgeStyle panel config.
  • ELK config remains secondary to MSAGL. Layout engines are split into separate chunks to reduce client-side download size.
  • Flipped node cards demo screenshot vertical to reuse it for Grafana catalog.

I have to make performance improvements before publishing into the Grafana catalog:

  • ELK layout in its current implementation hangs badly for any bigger graph.
  • Showing labels only on focused edges recalculates labels positions on every focus change. I'll switch to one-time precomputation with deck.gl GPU-based label filtering.

@vaduga
vaduga merged commit 6eba90e into vaduga:main Nov 12, 2026
2 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 12, 2026
@vaduga

vaduga commented Nov 13, 2026 •

Copy link
Copy Markdown
Owner

I have to make performance improvements before publishing into the Grafana catalog:

  • ELK layout in its current implementation hangs badly for any bigger graph.
  • Showing labels only on focused edges recalculates labels positions on every focus change. I'll switch to one-time precomputation with deck.gl GPU-based label filtering.

Both performance issues are now addressed on 'main' branch:

  • ELK layout: replaced Network Simplex node placement with Brandes–Köpf. Network Simplex became very expensive with the extra dummy nodes introduced by bounded layering. The new strategy preserves cross-namespace flow while avoiding that optimization cost.
  • Edge labels: cached edge geometry and label anchors, text data are now cached and reused across interactions. Focus highlighting and dimming use deck.gl GPU attributes/uniforms. Focus changes still update collision placement for visible labels, so hidden labels don’t reserve space, but no longer resample curves or rebuild text data.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants