Nevron Diagram for .NET-它是一種智能的方法用于擴展您的WinForms和ASP.NET應(yīng)用程序能夠擁有交互式的圖表,流圖,網(wǎng)絡(luò)圖,地圖,UML和通用圖的顯示。它是一個完整的圖表解決方案,擁有許多交互式的功能,形狀,自動布局,驚人的視覺效果,并配置了隨時可用的控件來幫助您提高您的應(yīng)用程序的開發(fā)。精心制作以滿足不同的要求和特定的業(yè)務(wù)需求,它提供了無與倫比的擴展性選項,這將幫助您更好的將該解決方案集成到您的特定的項目環(huán)境中。
Nevron Diagram for .NET - the smart way to extend your WinForms and ASP.NET applications with interactive displays of graphs, flowcharts, networks, maps, UML and general purpose diagrams. It is a complete diagramming solution, packed with many interactivity features, shapes, automatic layouts, stunning visual effects and comes equipped with ready to use controls to help you boost your application development. Carefully crafted to meet different requirements and specific business needs, it provides unmatched extensibility options, which will help you to integrate the solution better into the context of your particular project.
Nevron Diagram for .NET功能:
- 先進自動的圖和樹布局
- 許多交互和編輯功能
- 數(shù)百計的預(yù)定義的圖形和擴展性選項
- Tree/Graph Data的導(dǎo)入器...以及更多...
圖表文檔對象模型
圖表文檔對象模型代表的是一個元素的集合,您可以使用它來構(gòu)建一個圖表文檔。圖表文檔對象模型是建立在Nevron DOM之上的并且Nevron Diagram.NET產(chǎn)品的上下文簡稱DOM。以下是最重要的有關(guān)DOM元素和功能的主要概述:
- 元素-圖表是通過元素構(gòu)成,這些元素具有一定的層次結(jié)構(gòu),根就是一個圖表文檔。
- 文檔-文檔在元素層次結(jié)構(gòu)中是根元素。它們?yōu)榉?wù),試圖管理和數(shù)據(jù)交換功能提供核心支持。
- 樣式-所有的圖表元素的可視化外觀樣式是通過樣式控制的。樣式可以在本地指定(每個元素單獨指定)或通過繼承或樣式表重用。
- 形狀和分組-當(dāng)在構(gòu)建圖表時,您基本上是使用形狀。Nevron Diagram for.NET提供一套廣泛的預(yù)定義形狀集。
- 數(shù)據(jù)結(jié)果- Nevron Diagram for .NET擁有內(nèi)置的支持圖和樹的數(shù)據(jù)結(jié)構(gòu)并擁有有關(guān)這些數(shù)據(jù)結(jié)構(gòu)的核心操作。
- 路由- Nevron Diagram for .NET擁有內(nèi)置的支持自動的障礙避免的路由功能。
- 橋-橋(跳)是一種特殊類型的裝飾,它在連接器的自身連接或連接器與其他的連接器上面以Z順序顯示。
- 打印管理器-繪圖能夠被打印到一頁或多頁上。該實現(xiàn)是通過內(nèi)置的打印預(yù)覽和頁面設(shè)置支持的。
- 光柵圖像導(dǎo)出-繪圖能夠被作為任何圖像類型(JPG,PNG,BMP等)的圖像導(dǎo)出。
- 矢量圖像導(dǎo)出-繪圖能夠被導(dǎo)出為Pdf,F(xiàn)lash,SVG,Silverlight (XAML)和EMF矢量格式。
- 撤銷和重做-整個DOM是通過歷史信息保護的。歷史信息是通過作為一個服務(wù)實現(xiàn)的,因此您可以很輕松地覆蓋它,停止或暫停它。
- 批處理-批處理在各個文檔和視圖間作為一個功能層服務(wù)。設(shè)計的批處理用于操作多個元素和記錄一個單一的歷史事務(wù)。
- 事件處理-所有的事件都是由事件容器服務(wù)產(chǎn)生,它為您提供始終攔截所有事件類型的能力,不管您是使用的什么圖表類型。交互式事件(鼠標(biāo),鍵盤和拖放事件)支持事件冒泡。
自動布局
圖表的自動排列是一個不可缺少的功能,尤其是當(dāng)圖太大或需要自動產(chǎn)生時。Nevron Diagram for.NET配備了一套先進的自動布局功能。以下是一個簡短的概述:
- 強制方向布局-通過barycenter,spring和對稱布局實現(xiàn)。它們適合任何圖形及產(chǎn)生直線圖繪圖。
- 分層圖布局-布局一個圖在層中。它它生成折線圖繪圖并非常適合分層組織的圖。
- 正交圖布局-繪制一個只有水平和垂直線段的圖。它適合任何圖形并解決了像交叉,彎曲和面積最小化問題。
- 徑向圖布局-繪制一個徑向圓圖。它適合任何圖形并產(chǎn)生直線圖繪圖。
- 分層樹布局-在層中布局一棵樹。產(chǎn)生直線以及正交樹圖。
- 壓縮深度樹布局-以最小深度布局一棵樹。產(chǎn)生直線和正交樹圖。
- 倒立樹布局-通過在行或者列上放置孩子結(jié)點布局一棵樹。產(chǎn)生正交樹圖。
- 氣球樹布局-通過在它們父親結(jié)點周圍的圓中放置孩子結(jié)點布局一棵樹。
- 堆棧布局-以水平或垂直的順序堆放這些單元。
- 流式布局-以水平或垂直線排列這些單元。
- 停靠布局-一個空間會吃掉一個單元布局,它放置頂點到當(dāng)前可以布局區(qū)域的停靠區(qū)域的每個頂點。
- 表格布局-以表格方式排列單元。
預(yù)定義的形狀
Nevron Diagram for .NET配備了許多預(yù)定義的形狀,它可以在很多應(yīng)用中派上用場。這些預(yù)定義的形狀統(tǒng)一由形狀工廠創(chuàng)建。目前實施的形狀工廠,它可以創(chuàng)建的形狀類型如下:
- 基本形狀-基本幾何形狀(長方形,正方形,橢圓形,圓形,圓角矩形,N邊形等)。提供總數(shù)達16種形狀。
- 流程圖形狀-與流程圖相關(guān)的形狀(流程,決策,文檔,數(shù)據(jù)等)。提供共有31種流程圖形狀。
- 符號形狀-用于常用的符號的形狀(男士,婦女,男性,女性等)。提供共有47中符號形狀。
- 頭腦風(fēng)暴形狀-與頭腦風(fēng)暴相關(guān)的形狀(笑臉,哭臉,注意,注釋等)。提供共有36種頭腦風(fēng)暴形狀。
- 網(wǎng)絡(luò)形狀-與網(wǎng)絡(luò)建模有關(guān)的形狀(計算機,服務(wù)器,打印機,終端,集線器等)。提供共有28種網(wǎng)絡(luò)形狀。
- 簡單網(wǎng)絡(luò)形狀-與網(wǎng)絡(luò)建模相關(guān)的簡化(具有較少的細節(jié)信息)形狀(計算機,服務(wù)器,打印機,終端,集線器等)。提供共有23中簡單網(wǎng)絡(luò)形狀。
- 交通符號形狀-交通符號形狀(停止,禁止通行,車速限制等)。提供共有54種交通標(biāo)志形狀。
- 電氣符號形狀-電氣符號(二極管,電感,電容,電阻,PNP和NPN晶體管等)。提供共有91種電氣符號。
- 平面圖形狀-產(chǎn)生于平面圖相關(guān)的形狀(桌子,椅子,沙發(fā),書桌,水槽等)。提供共有110種平面圖形狀。
- 旗幟形狀-代表國家國旗的形狀(美國國旗,英國國旗,法國國旗等)。提供共有59個國家的國旗形狀。
- 旅行形狀-代表有關(guān)旅行的符號形狀。提供共有54種旅行形狀。
- 天氣形狀-與天氣相關(guān)的形狀(晴,多云,雪,雨等)。提供共有26種天氣形狀。
- 食物形狀-與食物相關(guān)的形狀(漢堡,比薩,蘋果等)。提供共有33種食物形狀。
- 業(yè)務(wù)流程形狀-與業(yè)務(wù)流程建模相關(guān)的形狀(決策,活動,規(guī)則等)。提供共有52種BPM形狀。
- 文件和文件夾形狀-與文件和文件夾相關(guān)的形狀(打開文件夾,文件列表,郵件等)。提供共有28種形狀。
地圖 (Nevron Diagram for .NET 企業(yè)版的一部分)
Nevron Diagram for .NET擁有內(nèi)置的支持地圖顯示的功能。ESRI的shapefiles(業(yè)界領(lǐng)先的存儲地圖數(shù)據(jù)的標(biāo)準(zhǔn))可以通過幾行代碼很容易地導(dǎo)入到任何圖表中。以下是最重要的地圖功能的簡述:
- 支持ESRI的shapefile格式-業(yè)界領(lǐng)先標(biāo)準(zhǔn)
- 支持22種投影類型
- 基于縮放級別的智能的層屬性顯示/隱藏層
- 通過數(shù)據(jù)域關(guān)聯(lián)自動的實現(xiàn)地圖元素的命名和標(biāo)記
- 完整的可編程的訪問地圖元素包括形狀和路徑。
胖客戶端 (WinForm)和可視化編輯
Nevron Diagram for .NET為開發(fā)胖客戶端圖表應(yīng)用程序提供內(nèi)置支持。它配備了幾個立即可用的控件,它們可以幫助您在幾分鐘內(nèi)創(chuàng)建獨立的圖表應(yīng)用程序。實際上,Diagram Designer應(yīng)用程序,它被包含在軟件包中,它只通過以下控件來組裝構(gòu)建:
- 繪圖視圖-繪圖視圖可以幫助您顯示和編輯繪圖文檔。
- 庫視圖-庫視圖可以幫助您顯示和編輯庫文檔。您可以從庫視圖中拖放形狀到繪圖視圖,反之亦然。
- 平移和縮放控件-平移和縮放控件可以幫助您顯示文檔的鷹眼視圖,它在主繪圖中被編輯。它還允許您交互式地平移和縮放主繪圖視圖。
- 圖命令欄管理器-圖命令欄管理器可以幫助您可視化并執(zhí)行預(yù)定義的命令集,它們可以在繪圖和庫視圖上被執(zhí)行。
- 圖表屬性瀏覽器-圖屬性瀏覽器可以幫助您直觀地編輯文檔的屬性,活動的層,選定的元素或視圖。
- 圖表狀態(tài)欄-圖表狀態(tài)欄顯示有關(guān)一個繪圖視圖的當(dāng)前狀態(tài)的重要信息(選定的元素的大小,鍵盤狀態(tài),測量單位等)。
瘦客戶端 (ASP.NET)與AJAX
Nevron Diagram for .NET 為開發(fā)交互式的瘦客戶端圖表應(yīng)用程序提供內(nèi)置支持。它可以運行在Postback 模式或AJAX模式。
ASP.NET AJAX模式
Nevron Diagram for .NET擁有功能強大的,而且容易使用的內(nèi)置的AJAX交互式方式。它基于Nevron AJAX框架,這是一個可靠的,容錯能力好的并具有跨瀏覽器兼容的JavaScript庫,它可以將您的web頁面內(nèi)的簡單的圖表圖像轉(zhuǎn)換成一個交互式的具有無閃爍的圖像更新的客戶端應(yīng)用程序。
ASP.NET Postback 模式
Nevron Diagram for .NET 提供了一個可以幫助您添加交互性的web應(yīng)用程序的游泳的功能集,同時使用了許多傳統(tǒng)而又簡單的postback技術(shù):
交互式圖像地圖
Nevron Diagram for .NET能夠發(fā)送一個HTML圖像地圖到客戶端瀏覽器,它可以讓您構(gòu)建具有drill down能力的web應(yīng)用程序。
SVG圖像響應(yīng)
SVG圖像響應(yīng)發(fā)送豐富的矢量圖形圖像給客戶端。這可以幫助您在web瀏覽器中縮放圖表圖像時而沒有質(zhì)量的損失,而這在光柵圖像的大小變化時常出現(xiàn)的事實。SVG格式還允許客戶端的交互,如鼠標(biāo)懸停效果。
Nevron Diagram for .NET features:
-
Advanced automatic graph and tree layouts
-
Numerous interactivity and editing features
-
Hundreds of predefined shapes and extensibility options
-
Tree/Graph Data Importers ... And much more...
Diagram Document Object Model
The Diagram Document Object Model represents the set of elements, which you can use to build a diagramming document. The Diagram Document Object Model is built on top of the Nevron DOM and in the context of the Nevron Diagram .NET product is simply called DOM. Following is a brief summary of the most important DOM elements and features:
-
Elements-Diagrams are constructed by elements, which reside in a hierarchy, the root of which is a diagramming document.
-
Documents-Documents are the root elements in the element hierarchies. They provide core support for services, view management and data exchange capabilities.
-
Styling-The visual appearance of all diagram elements is controlled via styles. Styles can be locally specified (per each element individually) or reused via inheritance or style sheets.
-
Shapes and Groups-When constructing diagrams, you basically work with shapes. Nevron Diagram for .NET provides an extensive set of predefined shapes
-
Data Structures- Nevron Diagram for .NET has a built-in support for graph and tree data structures and the core operations with them.
-
Routing-Nevron Diagram for .NET has built-in support for automatic obstacle avoidance routing.
-
Bridges-Bridges (hops) are a special type of decoration, which is displayed on connectors self-intersections or intersections with other connectors below it in the Z order.
-
Print Manager-Drawings can be printed on single or multiple pages. Implemented is built in support for print preview and page setup.
-
Raster Image Export-Drawings can be exported to an image of any type (JPG, PNG, BMP etc.).
-
Vector Image Export-Drawings can be exported to Pdf, Flash, SVG, Silverlight (XAML) and EMF vector formats.
-
Undo and Redo-The entire DOM is protected by history. The history is implemented as a service so you can easily override it, stop or pause it.
-
Batches-Batches serve as a functionality layer between documents and views. Batches are designed to operate with multiple elements and record a single history transaction.
-
Event Handling-All events are fired from an event sink service, which provides you with the ability to consistently intercept all types of events regardless of the diagram you work with. Interactivity events (mouse, keyboard and drag drop events) support event bubbling.
Automatic Layouts
The automatic arrangement of diagrams is an indispensable feature, especially when diagrams are either too large or are automatically generated. Nevron Diagram for .NET comes equipped with a sophisticated set of automatic layouts. Following is a brief overview:
-
Force Directed Layouts-Implemented are barycenter, spring and symmetrical layouts. They are suitable for any kind of graph and produce straight line graph drawings.
-
Layered Graph Layout-Layouts a graph in layers. It produces polyline graph drawings and is very appropriate for hierarchically organized graphs.
-
Orthogonal Graph Layout-Draws a graph only with horizontal and vertical line segments. It is suitable for any kind of graph and addresses issues like crossing, bend and area minimization.
-
Radial Graph Layout-Draws a graph in radial circles. It is suitable for any kind of graph and produces straight line graph drawings.
-
Layered Tree Layout-Layouts a tree in layers. Produces straight line and orthogonal tree drawings.
-
Compact Depth Tree Layout-Layouts a tree with minimal depth. Produces straight line and orthogonal tree drawings.
-
Tip Over Tree Layout-Layouts a tree by placing children in either a row or a col. Produces orthogonal tree drawings.
-
Balloon Tree Layout-Layouts a tree by placing the children in circles around their parents. Produces straight line tree drawings.
-
Stack Layout-Stacks the cells in horizontal or vertical order.
-
Flow Layout-Arranges the cells in horizontal or vertical lanes.
-
Dock Layout-A space eating cells layout, which places vertices at per-vertex specified docking areas of the currently available layout area.
-
Table Layout-Arranges the cells in a tabular manner.
Predefined Shapes
Nevron Diagram for .NET comes equipped with numerous predefined shapes, which can come handy in many applications. The predefined shapes are consistently created by shape factories. Currently implemented are shape factories, which create shapes from the following categories:
-
Basic Shapes-Basic geometry shapes (Rectangle, Square, Ellipse, Circle, Rounded Rectangle, N-Grams, N-Gons etc.). A total of 16 basic shapes are provided.
-
Flowcharting Shapes-Shapes related to flowcharting (Process, Decision, Document, Data etc.). A total of 31 flowcharting shapes are provided.
-
Symbol Shapes-Shapes for commonly used symbols (Man, Woman, Male, Female etc.). A total of 47 symbol shapes are provided.
-
Brainstorming Shapes-Shapes related to brainstorming (Smiley face, Frowny face, Attention, Note etc.). A total of 36 brainstorming shapes are provided.
-
Network Shapes-Shapes related to network modeling (Computer, Server, Printer, Terminal, Hub etc.). A total of 28 networking shapes are provided.
-
Simple Network Shapes-Simplified (with less details) shapes related to network modeling (Computer, Server, Printer, Terminal, Hub etc.). A total of 23 simple networking shapes are provided.
-
Traffic Signs Shapes-Traffic signs shapes (Stop, No entry, Speed limit etc.). A total of 54 traffic sign shapes are provided.
-
Electrical Symbols Shapes-Electrical symbols (Diode, Inductor, Capacitor, Resistor, PNP and NPN transistors etc.). A total of 91 electrical symbols are provided.
-
Floor Plan Shapes-produces shapes related to floor plans (Table, Chair, Couch, Desk, Sink etc.). A total of 110 floor plan shapes are provided.
-
Flags Shapes-Shapes representing country flags (USA flag, UK flag, France flag etc.). A total of 59 country flags are provided.
-
Travel Shapes-Shapes representing symbols related to travelling. A total of 54 travel shapes are provided.
-
Weather Shapes-Shapes related to weather (Sunny, Cloudy, Snow, Rain etc.). A total of 26 weather shapes are provided.
-
Food Shapes-Shapes related to food (Burger, Pizza, Apple etc.). A total of 33 food shapes are provided.
-
Business Process Shapes-Shapes related to business process modeling (Decision, Activity, Rule etc.). A total of 52 BPM shapes are provided.
-
Files and Folders Shapes-Shapes related to files and folders (Open Folder, File List, Mail etc.). A total of 28 shapes are provided.
Maps (part of Nevron Diagram for .NET Enterprise edition)
Nevron Diagram for .NET has built-in support for display of maps. ESRI shapefiles (the industry leading standard for storing map data) can be easily imported in any diagram with just a few lines of code.Following is a brief overview of the most important mapping features:
-
Support for the ESRI shapefile format - the industry leading standard
-
Support for 22 projection types
-
Intelligent layer properties show/hide layers based on zoom level
-
Automatic naming and labeling of map elements through data field association
-
Full programmatic access to map elements including shapes and paths
Thick client (WinForm) and Visual Editing
Nevron Diagram for .NET provides built-in support for developing thick client diagramming applications. It comes equipped with several ready to use controls, which can help you to create a standalone diagramming application in minutes. In fact, the Diagram Designer application, which is included in the package, is built by only assembling the following controls:
-
Drawing View-The drawing view helps you to display and edit drawing documents.
-
Library View-The library view helps you to display and edit library documents. You can drag and drop shapes from the library view to the drawing view and vice versa.
-
Pan and Zoom Control-The pan and zoom control helps you to display a bird's eye view of the document, which is being edited in its master drawing view. It also lets you interactively pan and zoom the master drawing view.
-
Diagram Command Bars Manager-The diagram command bars manager helps you to visualize and execute the set of predefined commands, which can be performed on drawing and library views.
-
Diagram Properties Browser-The diagram, properties browser helps you to instantly edit the properties of the document, the active layer, the selected element or the view.
-
Diagram Status Bar-The diagram status bar displays important information about the current state of a drawing view (size of the selected element, keyboard state, measurement unit etc.)
Thin Client (ASP.NET) and AJAX
Nevron Diagram for .NET provides built-in support for developing interactive thin client diagramming applications. It can operate either in Postback Mode or in AJAX mode.
ASP.NET AJAX Mode
Nevron Diagram for .NET comes with a powerful, yet easy to use built-in set of AJAX interactivity styles. It is based on the Nevron AJAX Framework, which is a reliable, fault tolerant and cross-browser compatible JavaScript library, that converts the simple diagram images inside your web page into an interactive client side application with flicker-free asynchronous image updates.
ASP.NET Postback Mode
Nevron Diagram for .NET provides a set of useful features that help you to add interactivity to your web application, while sticking to the more traditional and simple postback technology:
Interactive Image Maps
Nevron Diagram for .NET can send an HTML image map to the client browser, which allows you to build web applications with drill down capabilities.
SVG Image Response
The SVG image response sends to the client a rich vector graphics image. This helps you to have the diagram image rescaled in the web browser without loss of quality, which would be the case if rescaling raster format images. The SVG format also allows for client side interactivity like mouse hover effects.