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

linkStyle stroke attribute is not being rendered in htmlwidget #86

Closed
alforj opened this issue Mar 24, 2015 · 1 comment
Closed

linkStyle stroke attribute is not being rendered in htmlwidget #86

alforj opened this issue Mar 24, 2015 · 1 comment

Comments

@alforj
Copy link

alforj commented Mar 24, 2015

While the linkStyle stroke-width attributes are being rendered correctly in the example below, the stroke (color) attributes are not. All edges remain black when, according to the linkStyle, they should be red, blue, and green respectively. Using DiagrammeR_0.5.

DiagrammeR("graph LR;
A-->B;
C-->D;
E-->|This is the text|F;
linkStyle 0 stroke:red,stroke-width:2px;
linkStyle 1 stroke:green,stroke-width:4px;
linkStyle 2 stroke:blue,stroke-width:6px;")

image

SessionInfo:
R version 3.1.3 (2015-03-09)
Platform: x86_64-apple-darwin13.4.0 (64-bit)
Running under: OS X 10.10.2 (Yosemite)

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats graphics grDevices utils
[5] datasets methods base

other attached packages:
[1] DiagrammeR_0.5

loaded via a namespace (and not attached):
[1] curl_0.5 digest_0.6.8
[3] htmltools_0.2.6 htmlwidgets_0.3.2
[5] jsonlite_0.9.14 Rcpp_0.11.5
[7] RJSONIO_1.3-0 rstudioapi_0.2
[9] tools_3.1.3 V8_0.5
[11] yaml_2.1.13

@alforj
Copy link
Author

alforj commented Mar 24, 2015

Sorry, searched for linkStyle and didn't see any hits but just saw #81 and it looks like this may fall under that issue globally. Closing.

@alforj alforj closed this as completed Mar 24, 2015
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