如何在C#中绘制图形 [英] How to draw graph in c#

查看:87
本文介绍了如何在C#中绘制图形的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,
我怎么能这样简单地画一个图 http://en.wikipedia.org/wiki/File:Binary_tree.svg 在c#中.

您是否知道任何有助于我快速完成工作的组件或内容?

请提供开源组件以及一些具有非常清晰的教程的内容吗?

谢谢

Hi there,
Hhow can i simply draw a graph like this http://en.wikipedia.org/wiki/File:Binary_tree.svg in c#.

Do you know any component or something that help me to do it quickly?

Please offer the open source component and something that has very clear tutorial?

Thanks

推荐答案

请参阅我对问题的评论.您需要指定您要使用的应用程序类型或UI库.如果您没有偏好,则应将其作为您的建议"告诉我们.

现在,非常清晰的教程是关于什么主题的?不要指望并寻找有关图形绘制的教程,寻找有关图形(可能是交互式图形)的教程/文档.但是有很多关于这些主题的文章.我正在准备有关其中一个主题的文章,但这将需要更多时间.同时,我的概述将使您了解其中涉及的内容:

连接不同的控件 [矢量图形软件,例如C#或VB.NET中的CorelDraw或Inkscape [ ^ ].

-SA
Please see my comment to the question. You need to specify your application type or UI library you want to use. If you don''t have preference, you should tell us about it, as "what would you advise".

Now, very clear tutorial is — on what topic? Don''t expect and look for tutorials on drawing graphs, look for tutorials/documentation on graphics, perhaps interactive graphics. But there are a lot articles on these topics. I''m preparing an article on one of the topics, but it will take some more time. In the meanwhile, my overview will give you an idea on what''s involved:

Connect different controls[^],
Vector graphics software like CorelDraw or Inkscape in C# or VB.NET[^].

—SA


您很有可能可以使用 Graph#库 [^ ].

最好的问候
Espen Harlinn
Most likely you can use the Graph# library[^].

Best regards
Espen Harlinn


请参阅此CodeProject文章图形BinaryTrees [ ^ ]

本文写的是这篇文章是关于二叉树的.二叉树包含无限数量的节点,可以删除,添加,搜索节点,等等.在这里,我们将讨论如何制作二叉树c#代码,以及如何使用GDI +在位图上绘制."

我认为对于上述目的也可能会有帮助.
Please see this CodeProject article Graphical BinaryTrees[^]

In this article it is written that "This article is about binary trees. A Binary Tree contains unlimited number of nodes, the nodes can be removed, added, searched, etc. Here we will discuss on how to make a binary tree on c# code, and how to draw that on bitmap using GDI+."

I think it may also be helpful for the above purpose.


这篇关于如何在C#中绘制图形的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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