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

set the line thickness depending on the value #38

Open
jekeam opened this issue Apr 9, 2019 · 4 comments
Open

set the line thickness depending on the value #38

jekeam opened this issue Apr 9, 2019 · 4 comments

Comments

@jekeam
Copy link

jekeam commented Apr 9, 2019

Good day how to set the line thickness depending on the value I can get in the database?

@jekeam
Copy link
Author

jekeam commented Apr 9, 2019

Decided. Add to the file d3-force-3.0.0.min.js:
after .style("stroke",function(t){return t.COLOR?t.COLOR:null}):
.style("stroke-width",function(t){return t.WIDTH?t.WIDTH:null})
and added the appropriate column in the query

@jekeam jekeam closed this as completed Apr 9, 2019
@ogobrecht
Copy link
Owner

Hi Jekeam,

that would be a valid fast solution.

You are not the first person who asked for a "weight" attribute for links. I have planned this for a future release. It will be something like with the node sizes with min and max configuration values for the stroke width and a calculation regarding the delivered min and max values for the weight attributes in your link data.

Hope I have time for it soon.

Just for info: Do you use the standalone version or the Oracle APEX plugin?

Best regards
Ottmar

@jekeam
Copy link
Author

jekeam commented Apr 10, 2019

Oracle APEX plugin

@ogobrecht
Copy link
Owner

Thanks for the feedback :-)

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

No branches or pull requests

2 participants