Open ivachho opened 3 years ago
I'm encountering this issue in Rstudio (v 2022.02.3 ). Here's my code:
library(DiagrammeR)
(
create_graph()
%>% add_node(label='L')
%>% add_node(label='SIS')
%>% add_node(label='fNIRS')
%>% add_edge(
from = 'L'
, to = 'SIS'
)
%>% add_edge(
from = 'L'
, to = 'fNIRS'
, edge_aes = edge_aes(style='dot')
)
%>% render_graph(
layout = 'tree'
, output = 'graph'
)
)
When I render my graph in Power BI, I get this error: "Error in generate_dot(graph) : object 'attribute' not found Calls: %>% -> render_graph -> generate_dot"
Everything seems to be working fine in Rstudio