我正在使用bupaR流程挖掘套件和processmapR来将我的日志绘制为流程图,但是当我尝试设置自定义位置(这迫使图形使用neato布局)时,边缘几乎保持稳定并且边缘难以理解的价值:
我尝试使用
positions <- data.frame(act = c("node1","node2","node 3","node 4","node 5","Start", "End"),
y = c(5,4,3,2,1,6,0),
x = c(1,2,3,4,5,0,6),
stringsAsFactors = F)
graph = process_map(log, fixed_node_pos = positions, render = F)
map = add_global_graph_attrs(graph,
attr = "splines",
value = "true",
attr_type = "graph")
render_graph(map)
但是我找不到任何可以改变边缘显示方式的属性,例如向它们添加更多曲线
如何解决此问题?
谢谢
答案 0 :(得分:0)
尝试以下操作:
map = add_global_graph_attrs(graph,
attr = "splines",
value = "curved",
attr_type = "graph")