G-Node / G-Node/nix

Dimensions with linking for ticks and labels

Open
#824 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
72
Forks
36
PR merge metrics
No merged PRs in 30d

Description

Dimensions can link to either a DataArray or a DataFrame for ticks or labels (depending on Dimension type).

## DataArray links
The link object should hold a series of indices that indicate a single vector to represent the ticks or labels. The dimension which holds the relevant values should be indicated by `-1`.

## DataFrame links
The link object should hold a single index which defines the Column to represent the ticks or labels.

---

This replaces AliasRangeDimension, which becomes a RangeDimension that links to the DataArray that holds it, and DataFrameDimension, which becomes a SetDimension (or any dimension now) that links to a DataFrame.

Contributor guide

Open the contributing guide

Research direction

Start by locating the definitions and tests for Dimension, AliasRangeDimension, DataFrameDimension, DataArray links, and DataFrame links. Trace how dimensions currently represent ticks and labels, then verify that the replacement model supports the link contents and dimension changes described in the issue, with tests covering both link types.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
data
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.