寻找一个可以通过鼠标绘制和操作图形的 C# 图形框架

发布于 2024-12-10 01:16:20 字数 266 浏览 0 评论 0原文

正如标题所示,我正在寻找 ac# 框架来绘制图表。

对我来说很重要的是,使用鼠标来操纵图形结构。 您应该能够选择节点和连接并与它们交互。 例如,您可以从头开始绘制自己的图表。

该框架应该提供创建节点和它们之间的连接的基本功能,但也应该能够灵活地实现您自己的东西。出于这个原因,我真的更喜欢开源。

跨平台支持也非常好,但这不是必须的。 3d 也不错,但 2d 也可以。

我首先考虑通过 opengl 实现一个自己的图形引擎,但这对我的目的来说有点太多了;)

As the title suggests, i am searching for a c# framework to draw graphs.

It is important to me, that you manipulate the graph structure by using the mouse.
You should be able to select and nodes and connections and interact with them.
For example you could draw your own graphs from scratch.

The framework should provide the basic functions to create nodes and connections between them, but should also be that flexibel to implement your own stuff. for that reason i really prefer open source.

Also cross-plattform support would be really nice, but that is no must.
Also 3d would be nice, but 2d will do it too.

I first thought about implementing an own graph engine via opengl, but that was a bit too much work for my purpose ;)

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

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

发布评论

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

评论(1

时光与爱终年不遇 2024-12-17 01:16:20

我建议您查看 oxyplot 项目。

该项目有详细的文档记录,在线示例浏览器有一个适合您需求的源

请参阅鼠标事件部分和“LineSeries 和 PlotModel MouseDown 事件”

I suggest you to have a look at the oxyplot project.

The project is well documented and the online examples browser have a source which fits with your needs

See Mouse Events section and ''LineSeries and PlotModel MouseDown event''

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