DiagramLite Programmer's Guide
General Information
The
DiagramLite
Component
Redistribution is royalty free
Assembly is strong-named
Can be purchased with source code
Is written in C#
User Interaction
Several user interaction modes
Scrolling and zooming
Copy and paste support
Panning
Automatic scrolling while dragging items with the mouse
Magnification
Alignment to grid
Node alignment guides
Multiple selection
Tool-tips
Docking points can be defined for nodes
Undo / redo support
Links can auto-snap to nearest node
Programming
Programmatic access to the diagram elements
Numerous properties for customizing appearance and behavior
Numerous utility methods
Path finding and cycle detection
Rich event set
Store and Retrieve Diagrams into/from
Files in the Silverlight local storage
.NET streams
ASCII strings
XML documents
Diagram Elements
Use any
Silverlight
control as a diagram node
More than 100 predefined node shapes
Ability to define custom shapes and shape libraries
Rotation of shapes at arbitrary angles
Container nodes
Tables with unlimited number of rows and columns
Table cells can span several columns and rows
Assign diagram items to layers
Display hierarchical data in TreeView nodes
Sections of table rows can be expanded or collapsed
Links can comprise multiple segments
Link segments can be straight lines or curves
Display multiple labels per link
Support for custom node and link types
Automatic Layout
Spring-Embedder graph layout
Directional tree layout
Radial tree layout
Fractal tree layout
Layered graph layout
Grid layout
Simulated Annealing graph layout
One-way graph layout
Orthogonal graph layout
Circular graph layout
Topological graph layout
Source code flowchart layout
Decision flowchart layout
Process diagrams layout
Tree map layout
Swimlane diagrams layout
Cascading graph layout
Hierarchical graph layout
Triangular graph layout
Multi-level graph layout
Automatic link routing
Appearance
Nodes can display images and text
Various text alignment styles
Text can be laid out in polygonal areas
Glass visual effects
Styled HTML-like text formatting
Customizable fonts and colors
Custom painting of nodes
Shadows
User-assigned mouse cursors
Z-order
Rich choice of pen and brush styles
Transparent nodes
Invisible nodes
Embossment and shadow dispersion visual effects
A background swimlane grid
Behavior
Lock diagram elements
Read-only mode supported
Tables can be scrolled
Collapse and expand hierarchy branches
In-place text editing
Dynamic positioning of links relative to connected nodes
Link Diagram Items
Nodes to nodes
Table rows to table rows
Nodes to table rows
Unconnected links
Auxiliary Controls
Ruler control
Overview control
VirtualizingDiagram control
NodeListView control
LayerListView control
TabbedDiagramView control
Zoom control