问题标签 [diagramming]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
3 回答
171 浏览

metaprogramming - Graphically Modeling Metaprogramming

Are there any tools out there that let you model how a class (or a class hierarchy) can change at runtime? For example, if I have a given number of mixin classes that will be combined at runtime and I don't know which ones will be combined until the program runs, how do you go about diagramming that type of runtime behavior?

Here's a better example. Let's say that I have a base class called IceCream, and I have over 100 possible flavors that all derive from that one IceCream class. Let's also suppose that any instance of the IceCream class can be combined with another instance of the IceCream class to create a completely unique IceCream type altogether. Given this domain, how do you use a graphical model to actually say that any one of these types can be combined at runtime?

It would be inefficient to model all the possible combinations of IceCream types, given that there can be a virtually infinite number of permuations for these 100 IceCream types. So again, here's the question: Are there any graphical modeling languages that let you specify this sort of behavior?

0 投票
2 回答
4228 浏览

c# - C# 的免费或开源图表组件?

是否有任何可供 C# 项目免费使用的图表组件?如果可能的话,它允许您单击和编辑图表节点。

0 投票
2 回答
6296 浏览

algorithm - 自动排列实体关系图的算法

我目前正在编写一个控件(在 C# 中),用于显示一组表以及它们之间存在的关系。我完成了基本控制,但想实现类似于 SQL Express 的图表组件提供的“自动排列”功能。

它遵循什么样的算法来确定表格的最佳布局?也就是说,一种考虑所有“关系路径”并提出一种布局的算法,在这种布局中,表格可以排列得没有太多混乱。

0 投票
2 回答
1055 浏览

uml - Visio 是否可以自动布局 UML 图?

有没有办法使用整个可用的绘图区域以“最好”的方式布置所有内容?还是我必须自己定位各种元素?

0 投票
5 回答
2559 浏览

database - 有比visio更漂亮的数据库绘图软件吗?

我想知道你是否知道除了visio之外的其他漂亮的数据库绘图软件。

因为我认为 visio 不够优雅。所以你能给我一些建议吗?

非常感谢。

0 投票
2 回答
215 浏览

class - 简单的 UML 行为让我感到困惑!

UML 和系统设计非常新。

我们正处于设计阶段制作类图的阶段,并且正在努力弄清楚如何实现需求。这是问题所在:

我们有一个由 Name 类和 ContactDetails 类组成的 Person 类。联系人详细信息类由 MobileNumber 和 EmailAddress 类组成。

我将如何建模我的类图,以便 ContactDetails 必须具有 MobileNumber 或 EmailAddress 或两者兼有?

我敢肯定这很简单——但它把我扔了!

谢谢

0 投票
1 回答
1734 浏览

architecture - 无论如何我可以从数据表中自动生成架构图吗

我有一个文本文件中的应用程序、服务和数据库列表。该列表包括哪些应用程序是哪些服务的消费者以及哪些服务使用哪些数据库。我想知道是否有工具可以获取这些数据并生成架构图。我想输出是动态的,所以当文本文件更新时,图表会自动更新

类似于此工具的东西(似乎不适用于网络)

http://research.microsoft.com/en-us/projects/msagl/default.aspx

0 投票
8 回答
40365 浏览

c# - WinForms 的免费或开源图表组件

我需要能够以编程方式生成依赖关系图。我希望它能够生成一堆带有标签和连接它们的连接器的盒子,理想情况下,组件会将它们自动定位到设计表面上,然后可以手动重新排列。

我正在使用 WinForms 和 C# 2.0 (VS2005)。

编辑:但是,由于它将是一个内部工具,如果在该领域有任何建议,我可能可以使用 3.5 SP1 和 WPF。

必须是免费或开源的。

有什么建议吗?

0 投票
5 回答
2193 浏览

process - 流程 - 流程图仍然是绘制它的最佳方式吗?

我很想知道在相当复杂的 Web 应用程序的初始设计阶段人们使用什么技术来绘制初始流程?

为了清楚起见,我从用户的角度谈论通过流程的路线,以及该路线如何根据决策和条件分支。我不是在尝试对底层流程进行建模。

流程图仍然是这类事情的最佳工具吗?也许UML可以用于这个?有更好的吗?

您能否建议最好的工具(最好基于 Windows)用于您的给定答案。

谢谢

0 投票
2 回答
1312 浏览

silverlight - 设计关系 Silverlight 图表的最佳方法

我想设计一个关联的 Silverlight 图表表面,您可以在其中输入框,然后拖动这些框并使用线条、箭头将它们链接到其他框。我的第一个问题是采取这种方法的第一步是什么?我正在寻找诸如思维导图或 visio 图之类的东西。

谢谢,埃里克