frontend-collective / frontend-collective/react-sortable-tree

How to dynamically change color of lines joining child nodes?

Open
#433 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5k
Forks
914
PR merge metrics
No merged PRs in 30d

Description

Hi,
how can I dynamically change the color of line joining the nodes based on some property?
For example:
```
+ ROOT
|
+ child A; props: change_color: true
| |
| + child A-2; props: change_color: true
| |
| + child A-3; props: change_color: true
|
+ child B
```
for given tree I would like to dynamically change color of lines for childs from A-3 up to A and only them (they have property "change_color" set to true), how can I do that?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.