silverlight寻奇 - Graphite

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

本文参与腾讯云自媒体分享计划,欢迎正在阅读的你也加入,一起分享。

发表于

我来说两句

0 条评论
登录 后参与评论

相关文章

来自专栏林德熙的博客

WPF 在 Alt+Tab 隐藏窗口

最近在开发一个 Toast 窗口,因为这个窗口不能在显示之后关闭,因为可能用户会不停让窗口显示,所以只能 Hide 。但是这样会在 切换窗口看到这个窗口,所以我...

33420
来自专栏张善友的专栏

MONO x64 amd_x64

SharpPcap 是一个.NET 环境下的网络包捕获框架,基于著名的 pcap/WinPcap 库开发。提供了捕获、注入、分析和构建的功能,SharpPcap...

20650
来自专栏bboysoul

使用netdiscover进行网络发现

脚本小子的日常就是只能介绍一些工具了,今天介绍一个比较简单的工具就是netdiscover了,这个工具最主要就是用来网络发现的

20430
来自专栏逸鹏说道

C#通过WMI的wind32 的API函数实现msinfo32的本地和远程计算机的系统摘要信息查看功能

最近做一个项目碰到要实现查看本地和远程计算机的摘要信息,采用命令行msinfo32可以很快查看到,如下图: ? 需要在用C#来实现类似信息查看。尤其远程计算机的...

39050
来自专栏.NET开发者社区

(码友推荐)2018-07-06 .NET及相关开发资讯速递

1.Dotnet outdated helps you keep your projects up to date

10230
来自专栏.NET开发者社区

(码友推荐)2018-10-19 .NET及相关开发资讯速递

3.Using an OData Client with an ASP.NET Core API

11030
来自专栏张善友的专栏

codeproject 几篇asp.net文章

Best Practices in ASP.NET for writing User Control In MultiView And Wizard using...

21060
来自专栏漫漫全栈路

.NET Core 实战笔记1-介绍和安装

.NET Core介绍 按照国际惯例,先介绍一下什么是 .NET core(也写成dotNet core啦)。 .NET Core是 .NET Frame...

427100
来自专栏漫漫全栈路

.NET Core 实战1-介绍和安装

按照国际惯例,先介绍一下什么是 .NET core(也写成dotNet core啦)。

28910
来自专栏c#开发者

BizTalk 异常解决方法

SSOSQL.dll regasm C:\Program Files\Common Files\Enterprise Single Sign-On\SSOSQ...

38360

扫码关注云+社区

领取腾讯云代金券