Overview
Add support for importing structured datasets (CSV, JSON) into SocNetV as graphs, including nodes, edges, and their attributes.
This extends existing import capabilities and enables users to construct graphs directly from tabular or structured data sources.
Motivation
Users often have data in formats such as:
- CSV files (spreadsheets, exports from databases)
- JSON datasets (APIs, pipelines)
They need to:
- map structured data to graph structures
- import attributes at scale
- avoid manual graph construction
Scope
Supported Inputs
- CSV (primary)
- JSON (secondary)
Node Import
- define node identifier column
- optional label column
- additional columns → node attributes
Edge Import
- define:
- source column
- target column
- optional:
- weight column
- relation/type column
- additional columns → edge attributes
Behavior
- Users define mapping between columns and graph fields
- Imported attributes become part of:
- Resulting graph is fully usable in:
UI Suggestions
- Import wizard:
- file selection
- column mapping
- preview table
- Reuse concepts from:
Implementation Notes
Edge Cases
- missing or duplicate node IDs
- inconsistent data types
- large files
- disconnected components
Dependencies
Relation to Feature
Part of:
#223 Graph data editing and structured data workflows
Overview
Add support for importing structured datasets (CSV, JSON) into SocNetV as graphs, including nodes, edges, and their attributes.
This extends existing import capabilities and enables users to construct graphs directly from tabular or structured data sources.
Motivation
Users often have data in formats such as:
They need to:
Scope
Supported Inputs
Node Import
Edge Import
Behavior
UI Suggestions
Implementation Notes
Edge Cases
Dependencies
Relation to Feature
Part of:
#223 Graph data editing and structured data workflows