Northwoods.GoSilverlight 1.3.5 Assembly
Northwoods.GoSilverlight 1.3.5 Assembly
See Also  Send Feedback
This assembly provides an implementation of the GoXam diagramming capability for Silverlight.

Namespaces

NamespaceDescription
Northwoods.GoXamIncludes the Diagram and Overview controls, the DiagramPanel class containing Layers, the Node and Link classes, and FrameworkElement classes to implement node and link templates such as LinkPanel and Route, the NodeFigure enumeration, and the Spot structure.
Northwoods.GoXam.LayoutIncludes classes for arranging nodes based on their relationships, such as TreeLayout, ForceDirectedLayout, and LayeredDigraphLayout.
Northwoods.GoXam.Model

Includes classes for interpreting your application data to recognize link and group-membership relationships.

There are three primary kinds of models: Generic TreeModel, Generic GraphModel, and Generic GraphLinksModel.  All implement the IDiagramModel interface and some other more specialized interfaces.

This namespace also includes the UndoManager class.

Northwoods.GoXam.Tool

Each Diagram has a number of tools that define its behavior when responding to mouse events.  These include ClickSelectingTool, DraggingTool, DragSelectingTool, LinkingTool, and ResizingTool, among others.

ToolManager is the default tool used by a Diagram -- it chooses to run one of the other tools depending on the circumstances.

Remarks

In XAML it is conventional to refer to all of the GoSilverlight classes using "go" XML namespace prefixes:

    xmlns:go="http://schemas.nwoods.com/GoXam"

Then you can write XAML as follows:

    <go:Diagram x:Name="myDiagram"
                NodeTemplate="{StaticResource TypeNodeTemplate}" LinkTemplate="{StaticResource LinkTemplate}"
                HorizontalContentAlignment="Center" VerticalContentAlignment="Center">
      <go:Diagram.Layout>
        <go:TreeLayout NodeSpacing="10" />
      </go:Diagram.Layout>
    </go:Diagram>

© 2012 All Rights Reserved.