寻找一个可以通过鼠标绘制和操作图形的 C# 图形框架
正如标题所示,我正在寻找 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我建议您查看 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''