前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >silverlight寻奇 - Graphite

silverlight寻奇 - Graphite

作者头像
用户1172164
发布2018-01-16 16:21:51
5660
发布2018-01-16 16:21:51
举报

Graphite是一个能自动布局的图表控件。

目前它已经有了silverlight 2 和 wpf的版本。观看demo时按下“Ctrl”键再做点击操作。

原文地址:http://www.orbifold.net/default/?page_id=1270

Features common to both versions

  • Styling: nodes can be styled or templated in the host application
  • Events: various events in the API allows you to react to user triggered events (node click, node added, edge removed and so on)
  • Easy API: you can easily manipulate the diagram through the API (like AddNode, DeleteEdge, ChildrenNodes and so on)
  • Interactive: the layout is also active when nodes are being dragged on the canvas
  • Documented: the API is well documented and compiled help is available
  • It is designed as a leightweight control (around 300 lines of code)

Silverlight version

Graphite for Silverlight allows you to embed interactive diagrams in any web page (HTML, PHP, ASP.Net…) and to manipulate data in a diagram without having to worry about the layout. See the inital release text or click on the thumbnails below to see a few examples (you will need the Silverlight 2 plugin):

Features specific to Silverlight:

  • based on Silverlight 2.0
  • Can be edited in Microsoft Expression Blend and Visual Studio 2008
  • Can access data through WCF and webservices
  • Can interact with JavaScript and Ajax

You can download the sample Vistual Studio project and see for yourself. Note that you’ll need Silverlight 2 and the SDK to edit things in VS2008 or Expression Blend.

WPF version

The WPF version of Graphite has the same features as the Silverlight version plus extra’s which cannot be made available in Silverlight due to security and framework restrictions, see the initial release text.

You can download this starry sky of science demo.

Features specific to the WPF version:

  • XML enabled: you can easily load XML into the control and save it back after editing the nodes and the edges
  • Rich templating and styling support
  • Better animation support
  • The full .Net 3.5 framework; none of the lightweight contraints of the Silverlight browser version and the full capacity of .Net at your disposal
本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2008-12-15 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • Features common to both versions
  • Silverlight version
  • WPF version
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档