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

Render graphs in RStudio #1

Open
DyfanJones opened this issue May 18, 2021 · 2 comments
Open

Render graphs in RStudio #1

DyfanJones opened this issue May 18, 2021 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed
Milestone

Comments

@DyfanJones
Copy link
Owner

Currently stepfunctions creates html script and then renders it in jupyter notebook using IRdisplay::display_html. For RStudio to render the html either: htmlwidget or rebuilding the flow using igraph.

@DyfanJones DyfanJones added this to the Cran-Release milestone May 22, 2021
@DyfanJones
Copy link
Owner Author

DyfanJones commented May 22, 2021

Current implementation using htmlwidget: https://github.com/DyfanJones/aws-step-functions-data-science-sdk-r/tree/htmlwidget . Current issue:

sfn.min.js:60 Uncaught TypeError: Cannot read property 'getBBox' of null
    at width (sfn.min.js:60)
    at t.value (sfn.min.js:60)
    at Object.renderValue (sfn_flow_graph.js:24)
    at Object.renderValue (htmlwidgets.js:886)
    at htmlwidgets.js:653
    at Array.forEach (<anonymous>)
    at forEach (htmlwidgets.js:55)
    at htmlwidgets.js:576
    at Array.forEach (<anonymous>)
    at forEach (htmlwidgets.js:55)

Reached out to htmlwidget developers for help: ramnathv/htmlwidgets#411 next step is to reach out to the community in RStudio and slackoverflow.

@DyfanJones
Copy link
Owner Author

@DyfanJones DyfanJones added the help wanted Extra attention is needed label May 30, 2021
@DyfanJones DyfanJones added the enhancement New feature or request label Jun 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant