jaredly / jaredly/treed

View end node type and value

Open
#5 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.7k
Forks
187
PR merge metrics
No merged PRs in 30d

Description

I can see in the given example that json structure is assumed as following :

``` javascript
var flare_data = {
"name": "flare",
"children": [
{
"name": "analytics",
"children": [
.......
```

I see on the sample app that 'name' field is used for display node name.

I would like to use a JSON structure like this :

``` javascript
var flare_data = {
flare : {
analytics : {
cluster : {
agglomerativeCluster : 'myPersonnalString',
communityStructure : [{string1 : 'myPersonnalString'}, {string2 : 'myPersonnalString'}],
},
graph : {}
},
animate : {}
}
```

Then i would like this to be samely displayed as in app example.

I would like to know how easy it will be to make 'JSON structure switchin ' improvement

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the sample app and inspect how the `name` field is used to display node names. Determine whether the requested nested JSON structure can be mapped to the same display, and confirm that the result supports the shown `flare_data` shape while preserving the example's presentation.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.