用于可视化自定义逻辑的工具或编程库

发布于 2024-07-22 10:38:13 字数 725 浏览 6 评论 0原文

我正在寻找工具来帮助可视化用于执行文档生成的自定义业务逻辑。 该逻辑表示为由决策点和渲染操作图组成的面向对象模型。 基本构建块相对简单,但整体决策树相当大且复杂,难以可视化。

我们正在寻找有关可用于直观地表示决策树和渲染操作的工具和/或图形库的建议。 编程语言的选择并不重要(Delphi、C#、Java 都很好),我们可以根据需要轻松地将逻辑提取为 XML 或其他数据格式。 优先选择将在 Windows 下运行并启用结果图表部分的打印或 PDF 输出的东西。

要求

  • 决策点可以是简单的是/否或多个输出,例如(是、不是、有时、总是等)。 决策点可以是简单的是/否或多个输出,例如

  • 决策点链接到运行时环境中其他地方存在的外部业务逻辑。 我们需要用决策点的类型(例如布尔值)和描述所使用的业务规则的字符串来标记图形节点。

  • 渲染操作通过可选的合并变量和内联渲染逻辑链接到命名内容对象。 至少,我们需要能够使用元素的名称来标记节点,理想情况下还需要有关用于呈现内容的变量的信息。

我们考虑过围绕 Visio 或 WinGraphViz 构建一些东西,或者可能使用第三方图形/流程图库。 任何想法或指示将不胜感激。

I am looking for tools to aid in the visualization of custom business logic used to perform document generation. The logic is expressed as an object-oriented model consisting of a graph of decision points and rendering actions. The basic building blocks are relatively simple, but the overall decision tree is quite large and complex making it hard to visualize.

We are looking for suggestions on tools and/or graphing libraries that can be used to visually represent the decision tree and rendering actions. The choice of programming language is not critical (Delphi, C#, Java would be great) and we are able to easily extract the logic to XML or other data format as required. The preference is for something that will run under Windows and enable printing or PDF output of portions of the resulting diagram.

Requirements

  • Decision points can be simple yes/no or multiple outputs e.g. (yes, not, sometimes, always etc).

  • The decision points are linked to external business logic that exist elsewhere in the runtime environment. We need to label the graph node with the type of decision point (e.g. boolean) and string describing the business rule being used.

  • Rendering actions are linked to named content objects with optional merge variables and inline rendering logic. At a minimum we need to be able to label nodes with the name of the element and ideally also information about variables used to render the content.

We have considered building something around Visio or WinGraphViz, or perhaps using a third-party graphing/flowchart library. Any ideas or pointers would be greatly appreciated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

从来不烧饼 2024-07-29 10:38:13

经过更多挖掘后,我发现 WinGraphViz 和 DotXML 最符合我的要求。 我以前不知道“记录”元素,它允许我以清晰易读的方式在逻辑流中做出决策。

After some more digging I found WinGraphViz and DotXML to be the closest match to my requirements. I was previously unaware of the "record" element which allows me to render decisions in the logic flow in a clean and legible manner.

野の 2024-07-29 10:38:13

您可以考虑使用 Elm 前端的 Morphir
它是用于业务逻辑建模和代码生成的可靠工具。
可视化也随之而来。

You can consider Morphir with the Elm frontend.
It is a solid tool for business logic modeling, and code generation.
Visualization is coming along as well.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文