Skip to content

[Subtask] Unify node and edge filtering into a single filtering system #219

@oxy86

Description

@oxy86

Overview

SocNetV currently provides multiple independent filtering mechanisms:

  • node filtering by centrality
  • edge filtering by weight

These are implemented as separate dialogs and workflows.

This subtask aims to unify them into a coherent filtering system that supports:

  • combined filters
  • consistent behavior
  • reuse across future features

Current State


Goals

  • Provide a unified filtering model for:
    • nodes
    • edges
  • Allow combining multiple filters
  • Ensure consistent behavior across all filtering operations

Scope

Phase 1 — Integration

  • Refactor existing filtering logic:
    • node filtering
    • edge filtering
  • Ensure both use a shared visibility mechanism

Phase 2 — Combined Filters

Support combinations such as:

  • node centrality filter + edge weight filter
  • attribute filter + structural filter

Phase 3 — Logical Composition

Introduce:

  • AND / OR conditions
  • Sequential filter application

Example:

(type = "investor") AND (degree > 5)


UI Suggestions

  • Move away from isolated dialogs toward:
    • a unified "Filter Panel"
    • or a filter builder dialog

Implementation Notes


Dependencies


Edge Cases

  • Conflicting filters
  • Filter reset behavior
  • Performance on large graphs

Relation to Feature

Part of:
#215 Graph filtering, querying & subgraph extraction

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions