Skip to content

[Subtask] Export or save the current filtered graph / visible subset #220

@oxy86

Description

@oxy86

Overview

After users apply node and edge filters, they need a way to persist the currently visible subset of the graph.

This subtask adds support for exporting or saving the current filtered/visible graph as a standalone graph dataset.


Motivation

Filtering becomes much more useful when users can:

  • preserve the visible subset
  • analyze it later
  • share it
  • continue working on it as an independent graph

This makes filtering a complete workflow rather than a temporary visualization aid only.


Scope

Allow users to save/export the currently visible subset of the graph.

The exported graph should include:

  • all currently visible nodes
  • all currently visible edges between them
  • node and edge attributes, where supported by the chosen format

Behavior

  • The original graph remains unchanged
  • Export acts on the current visible state only
  • Result is a new graph file representing the filtered subset

UI Suggestions

  • Menu action:
    • "Export visible graph"
    • or "Save visible subset as..."
  • Optional confirmation dialog showing:
    • visible node count
    • visible edge count

Implementation Notes

  • Must work with the current single-window workflow
  • Should reuse existing export/save infrastructure where possible
  • Needs clear behavior when hidden nodes/edges exist
  • Document format-specific limitations if some exports do not preserve all attributes

Dependencies


Edge Cases

  • No active filters, full graph visible
  • Hidden nodes but visible edges impossible by invariant
  • Multi-relational graphs
  • Format-specific attribute loss

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