How does work the graph function?

Hi, I see that when I right click I can perform an interactive graph on my data if its a vector, it calls a function “graph”. How it works?

Hi @Andrew85 ,

The graph function uses the native poltly API. You have an example here: Graph · PGM Documentation .

Look the analogy from plotly and how to use it in R with this example, and after you should easily be able to adapt very style of graph from Plotly JavaScript Graphing Library | JavaScript | Plotly .

1 Like

Thank you, I will try!