我该如何想象一个复杂的曲线在.net中? [英] How do I visualize a complex graph in .Net?

查看:90
本文介绍了我该如何想象一个复杂的曲线在.net中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要形象化这种的曲线图。我不知道该如何命名(顺便说一下,如果你知道 - 我会AP preciate如果你告诉我)。这将是理想的图形元素,可以点击(这样,当用户点击一个块,我可以处理指定的元素ID的事件),但我可以生存下去,即使没有任何交互性。我可能希望能够专注在特定节点上和布局他人查看其观点。是否有任何组件提供良好的完成这个任务?如果没有,我应该怎么找帮我开发一个算法与视觉舒适的布局绘制这样的图?

I need to visualize a graph of this kind. I don't know how to name it (by the way, if you know - I'll appreciate if you tell me). It would be ideal for graph elements to be clickable (so that when user clicks on a block, I can handle an event with the element id specified) but I can survive even without any interactivity. I may like to be able to focus on a particular node and layout all others to view from its perspective. Are there any components available good for this task? If no, what should I look for to help me to develop an algorithm for drawing such a graph with visually-comfortable layout?

实用此图的本质是pretty的共同点:每块重presents从2个操作数推导。橙色圆圈都是指2个操作数,绿色的圆圈都连接点给消费者。它可以是显著区分操作数位置(左或右),例如,如果一个推导重新presents差或分裂的数学运算(在该特定情况下的块可以是三角形的,但在其他情况下的操作数本身可利用的依据是什么阻止它是一个左操作数和什么区块是它的权利)。另一种常见的应用程序组相交的复杂关系。

Practical nature of this graph is pretty common: each block represents a derivation from 2 operands. Orange circles are references to 2 operands, green circles are connection points to consumers. It can be significant to distinguish an operand position (left or right), for example if a derivation represents a mathematical operation of difference or division (in this particular case a block can be triangular, but in other cases an operand itself can make use of being aware of for what blocks is it a left operand and for what blocks is it a right). Another common application is intersecting sets with complex relations.

推荐答案

您可以看看图#,但我不知道它如何会处理这样的复合节点。这可能是一个很好的起点,但。

You could take a look at Graph#, but I'm not sure how well it'll handle composite nodes like that. It could be a good starting point though.

这篇关于我该如何想象一个复杂的曲线在.net中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆