Skip to content

[Feature] Graph decluttering & focus visualization for large networks #209

@oxy86

Description

@oxy86

Overview

Large graphs in SocNetV (100+ nodes) quickly become visually cluttered, making meaningful analysis difficult. Users report dense edge crossings and lack of tools to isolate and inspect substructures.

This feature introduces focus-based visualization tools that allow users to reduce visual noise and explore meaningful subsets of the graph without modifying the underlying data.


Goals

  • Improve usability for medium and large networks
  • Enable users to focus on relevant parts of the graph
  • Reduce edge crossing and visual clutter
  • Provide intuitive exploration workflows

Key Concept

Introduce non-destructive visibility control:

  • Nodes and edges can be temporarily hidden
  • The underlying graph data remains unchanged
  • Works as a foundation for future filtering/subgraph features

Phase Plan

Phase 1 — Immediate UX Improvements (short-term) ✔

  • Focus on selected nodes
  • Show only neighbors of selected nodes (ego network, k=1)
  • Hide non-selected nodes
  • Hide non-neighbor edges
  • Edge visibility threshold (e.g. by weight)

Phase 2 — Layout Improvements (mid-term) ✔

  • Improve force-directed layout defaults for large graphs
  • Add radial layout (ego-centered)
  • Add circular layout (group-friendly)

Phase 3 — Advanced Visualization (long-term)

  • Community-based layouts
  • Edge bundling (optional)

Implementation Notes

  • Reuse existing APIs:
    • setNodeVisibility(...)
    • setEdgeVisibility(...)
  • Integrates with GraphicsWidget rendering layer
  • Should remain independent of Graph data model

Subtasks

Phase 1 — Immediate UX

Phase 2 — Layout

Related enhancements


Motivation

This feature directly addresses real-world usage challenges and is a prerequisite for scalable graph exploration in SocNetV.****

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions