GoDiagram for ASP.NET Web Forms Samples
A number of sample applications that demonstrate how to build AJAX-style web
applications using GoDiagram.
Most of the views have GoView.NoPost set to true to support
mouse interaction without postbacks.
Most of the applications also have additional JavaScript running on the page to
dynamically update the HTML to display information without a server round-trip.
-
Basic App, a very simple web app that lets
you edit a graph of basic nodes and edit their labels.
This also demonstrates how to handle click events on the client in JavaScript
to display the node text.
-
BeatPaths, graphically showing the relative
superiority of various NFL teams in 2007 based on their head-to-head records.
The data was taken from www.BeatPaths.com.
This demonstrates the use of GoLayoutLayeredDigraph with Bezier style links.
-
Classier, a handy web app that displays
the class hierarchy of the Northwoods.GoWeb classes, and can show the methods
and properties for each class and interface.
This also runs some JavaScript on the client at page load time to widen the
view if the browser window is wider than the declared width of the view.
-
DataSet Demo, creating an org chart
from a DataSet.
-
Demo1, a demonstration of various features of
GoDiagram.
All three views (a GoView, a GoPalette, and a GoOverview) support "NoPost"
behavior.
-
Double Tree, shows how to lay out a
tree in two halves, each growing in opposite directions.
This demonstrates the use of GoLayoutTree, with the second time growing
towards the right using an Arrangement of FixedRoots so as to grow from where the
root node was placed in the first tree layout.
-
Family Tree, a display of the family
relationships involving the Tudor family of the 1500's.
-
Fishbone, a simple fishbone diagram.
-
Flow Charter, a flowchart editor.
This also implements a dynamic default context menu by overriding GoViewDataRenderer.GetDefaultContextMenu.
-
Flowgrammer, a smart flowchart
editor.
-
Grid App, demonstrating how grids can be
customized to be smart about where nodes can be dropped.
-
Iconic App, a simple web app that lets
you add and link iconic nodes and edit their labels.
This also implements client-side mouse-over behavior in a JavaScript function.
-
Instruments Demo, a presentation of
various kinds of dials, meters, gauges, and rulers.
This also demonstrates automatic updating of a view at regular intervals using
a timer and the customization of data sent to the client by overriding GoViewDataRenderer.GetPartInfo.
-
AutoLayout Demo, a simple
demonstration of Layered Digraph and Force Directed automatic layouts.
-
Minimal App, a very minimal web app
that lets you select, move, copy, link and delete nodes.
-
Object Browser, a display of some
of the GoDiagram in-memory objects used to constitute two views, and showing
the relationships between them.
-
Org Charter, an organization chart
editor.
This also implements a dynamic default context menu by overriding GoViewDataRenderer.GetDefaultContextMenu.
-
Planogrammer, a rack/shelf
organizer.
-
Processor, an editor for a model of a
work-process system.
This also demonstrates the implementation of context menus for objects by
overriding GoObject.GetContextMenu and the customization of data
sent to the client by overriding GoObject.GetPartInfo.
-
Sequence Diagram, a simple sequence diagram.
This uses a custom node class, Lifeline, using a custom port class (LifelinePort)
to implement the headered vertical dashed line holding rectangular representations
of activities (Activations).
They connect to other Lifelines with horizontal labeled links (Messages).
-
Sequential Function Chart,
a simple sequential function chart.
This uses a custom port class, BarPort, as the port of a GoBasicNode (BarNode)
to support having a number of links connect from the top or from the bottom at
various points along the length of the BarNode.
-
Shared States,
an advanced sample demonstrating how it is possible to pretend to have a node
belong to two or more "container" groups, by not using
GoSubGraph.
-
State Charter, a state diagram editor.
This also demonstrates customizing the information sent to the client, by
overriding GoObject.GetPartInfo.
-
SubGraph App, demonstrates support
for three different kinds of subgraphs
-
Tree App, a demonstration of a
two-dimensional tree that can be expanded and collapsed.