Timeline Slider Filter for Edges #280
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull request type
Check the type of change your PR introduces:
What is the current behavior?
Issue Number: N/A
Current State:
Gephi Lite currently lacks the ability to filter and visualize temporal networks. Users with time-series graph data (edges with date/timestamp attributes) have no way to:
This limits Gephi Lite's usefulness for analyzing temporal networks like social interactions, communication patterns, citation networks, and transaction histories.
What is the new behavior?
Timeline Filter Feature:
This PR adds comprehensive timeline filtering capability to Gephi Lite, enabling users to interactively explore temporal networks.
Key Features:
1. Custom TimeRangeSlider Component
A fully accessible dual-thumb range slider with advanced interactions:
2. Timeline Filter Type
3. Fade Mode (Innovative Feature)
Two visualization modes:
4. Sample Graph
Added "Social Network Timeline.json" demonstrating the feature:
Technical Implementation:
New Files:
packages/gephi-lite/src/components/GraphFilters/TimeRangeSlider.tsx- Custom sliderpackages/gephi-lite/src/components/GraphFilters/TimelineFilter.tsx- Filter UIpackages/gephi-lite/public/samples/Social Network Timeline.json- Sample dataModified Files:
packages/sdk/src/filters/types.ts- AddedTimelineFilterTypepackages/gephi-lite/src/core/filters/types.ts- Exported timeline typepackages/gephi-lite/src/core/filters/utils.ts- Filtering logicpackages/gephi-lite/src/components/GraphFilters/index.tsx- Integrationpackages/gephi-lite/src/components/modals/SelectFilterModal.tsx- Auto-selectionpackages/gephi-lite/src/views/graphPage/controllers/AppearanceController.tsx- Fade modepackages/gephi-lite/src/components/modals/WelcomeModal.tsx- Added samplepackages/gephi-lite/src/locales/en.json- TranslationsUsage:
Testing:
Breaking Changes:
None - all changes are additive.
Dependencies:
Other information
Why This Matters:
Many real-world networks have temporal dimensions. This feature enables researchers, analysts, and data scientists to:
Accessibility:
Full keyboard navigation, ARIA attributes, focus indicators, and screen reader support included.
Future Enhancements (not in this PR):
Screenshots:
This feature significantly enhances Gephi Lite's capability for temporal network analysis, making it a more powerful tool for understanding dynamic networks.