Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TreeElement - link labels. #96

Open
krs-world opened this issue Jul 16, 2019 · 1 comment
Open

TreeElement - link labels. #96

krs-world opened this issue Jul 16, 2019 · 1 comment

Comments

@krs-world
Copy link
Contributor

The TreeElement example seems to generate link labels without specifying any. The default should be the null string. Not sure how it is getting a default label (1 in the web tutorial example and in my current version, 1s and 2s for the links). Need to be looked at.

@krs-world
Copy link
Contributor Author

And here is the JSON:

{"visual":"Tree","title":"A General Tree Example","description":"A basic tree with seven nodes. Three on one side and three on the other. The root node is set to red with 0.3 opacity. The other six nodes are neutral color.","map_overlay":false,"coord_system_type":"cartesian","nodes":{"color":[255,0,0,0.2980392277240753],"shape":"circle","size":10.0,"name":"Hello","children":[{"linkProperties":{"color":[0,128,0,1.0],"thickness":2.0},"color":[70,130,180,1.0],"shape":"circle","size":10.0,"name":"This","children":[{"linkProperties":{"color":[70,130,180,1.0],"thickness":1.0},"color":[70,130,180,1.0],"shape":"circle","size":10.0,"name":"generic"},{"linkProperties":{"color":[70,130,180,1.0],"thickness":1.0},"color":[70,130,180,1.0],"shape":"circle","size":10.0,"name":"Tree"}]},{"linkProperties":{"color":[0,0,255,1.0],"thickness":2.0},"color":[70,130,180,1.0],"shape":"circle","size":10.0,"name":"is","children":[{"linkProperties":{"color":[70,130,180,1.0],"thickness":1.0},"color":[70,130,180,1.0],"shape":"circle","size":10.0,"name":"Representation"}]},{"linkProperties":{"color":[255,165,0,1.0],"thickness":2.0},"color":[70,130,180,1.0],"shape":"circle","size":10.0,"name":"a"}]}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant