最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

python - How to set height & width in pm4py's graph visualization? - Stack Overflow

programmeradmin4浏览0评论

If I use the Python package pm4py, I get a nice graph visualization. However, the size is quite small in terms of height, and I want to change it. The code so far:

from pm4py.visualization.bpmn import visualizer as bpmn_visualizer

parameters = bpmn_visualizer.Variants.CLASSIC.value.Parameters
gviz = bpmn_visualizer.apply(bpmn_model, parameters={ "bgcolor": 'green' })
bpmn_visualizer.view(gviz)

Is there a parameter to affect the height and width of the chart?

发布评论

评论列表(0)

  1. 暂无评论