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

process_map rendering for use in PowerBI #40

Open
paullandrepretorius opened this issue Dec 6, 2021 · 2 comments
Open

process_map rendering for use in PowerBI #40

paullandrepretorius opened this issue Dec 6, 2021 · 2 comments
Labels

Comments

@paullandrepretorius
Copy link

Hi All.

Was wondering if anyone knows of a way to render a process map with pan and zoom functionality inside an R script in PowerBI? I'm currently only able to render a PNG as PowerBI does not cater for HTML:

grafik <- process_map(x, type = frequency("relative", color_scale = "Purples"), render = FALSE, rankdir = "TB", fixed_edge_width = TRUE, layout = layout_pm(fixed_positions = NULL, edge_weight = TRUE, edge_cutoff = 0))

export_graph(grafik, "result.png", file_type = "png")

I've tried the export_SVG function, but no luck yet. This would really help as the current map in PowerBI is really small and difficult to view.

@gertjanssenswillen
Copy link
Member

The examples of processmaps in PowerBI that I know of all use PNG, so I don't think there is an alternative for that. Beyond that, I'm not sure what the possibilities are for zooming in etc on png's in PowerBi. Mabye you have a higher chance of asking this in a PowerBi community somewhere?

Sorry for not being able to help.

@gertjanssenswillen gertjanssenswillen transferred this issue from bupaverse/bupaR Jan 20, 2022
@koureasstavros
Copy link

koureasstavros commented Aug 23, 2023

You can print the process_map object using html widgets and this is going to export the GrViz html code, but with the current version of R into PowerBI Service, the controls like pan and zoom are not supported. This can only be done into PowerBI desktop using R4.2 and latest packages of libraries.

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

No branches or pull requests

3 participants