Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic DiagramLite 1.0.2 beta (Read 3456 times)
Forum Admin
YaBB Administrator
*****
Offline


Rock and Roll

Posts: 687
Joined: Apr 6th, 2003
DiagramLite 1.0.2 beta
Mar 19th, 2009 at 12:18pm
Print Post  
Here's what's new in MindFusion.Diagramming for Silverlight V1.0.2:

* Multiple selection *
The user can select multiple diagram items by holding down Ctrl and drawing a selection rectangle, or by Ctrl + clicking on items. If Behavior is set to Modify, users can draw a selection rectangle without using the Ctrl key. Multiple selection can be disabled by setting AllowMultipleSelection to false.

* Serialization improvements *
The control raises the SerializeTag and DeserializeTag events to let you save or load your custom Tag data. The events are raised while serializing each diagram item, and also for the Tag property of the Diagram object. The SerializeControl and DeserializeControl events let you save information for controls hosted in ControlNode nodes.

* BPMN shapes *
This version adds predefined Shape definitions that implement the Object Management Group / Business Process Management notation. They are available as members of the Shapes class and have names that start with a Bpmn prefix. They can also be accessed by ID using the FromId method of Shape.

* Shape extensions *
~ Shape definitions can include a custom label area defined via the TextRectangle property.
~ The shape decoration elements can have distinct pen color and width.
~ It is possible to add filled geometric shapes as decorations.

* Miscellaneous *
~ The CopySelection and PasteSelection methods let you copy a selection of items between two Diagrams.
~ Text alignment in nodes can be set through the TextFormat property.
~ Image alignment in nodes can be set through the ImageAlign property.
~ Call ResizeToFitItems to make Diagram.Bounds just big enough to contain all items.
~ Now it is possible to disable some modifications to nodes using EnabledHandles.
~ The user can start moving or resizing an item without selecting it first, depending on the ModificationStart property.
~ Diagram now derives from Control instead of Canvas, and inherits all Control methods, such as Focus.
~ DashStyle property added to the Pen class.

A beta version is available here -
https://mindfusion.eu/_beta/DiagramLite102.zip

Many thanks to anyone who tries it!
  
Back to top
WWW  
IP Logged
 
Hai
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 63
Joined: Jan 7th, 2009
Re: DiagramLite 1.0.2 beta
Reply #1 - Mar 23rd, 2009 at 10:33am
Print Post  
Hi there at MindFusion

Thank you for this release and for your great support along the last few months.

As for this release (I know it is just Beta… Smiley there are a few issues that I hoped to find but could not:

1. Keyboard support for the diagram. KeyDown event does not fire…
2. ContentTemplate for the Node's internals.
3. Saving the node Image to the XML
4. Undo, Redo support (I can write it myself using Isolated storage but if you will implement this it will be more… elegant)

And, maybe, also saving the workflow into an image file for the client…

I truly hope that you will enable at least some of these features in the next releases of this version

Many thanks

Hai
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: DiagramLite 1.0.2 beta
Reply #2 - Mar 23rd, 2009 at 12:24pm
Print Post  
Hi Hai,

1. Now that Diagram inherits from Control, there is a Focus() method you can call to bring the keyboard focus to the diagram. E.g. you could call Diagram.Focus in response to the LeftButtonDown event. Once the control is focused, it should get the keyboard input and raise KeyDown.

As for saving images, Silverlight 3 (now in beta) comes with extended Bitmap API that would probably let us do that, but we haven't checked it yet.

Stoyan
  
Back to top
 
IP Logged
 
Hai
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 63
Joined: Jan 7th, 2009
Re: DiagramLite 1.0.2 beta
Reply #3 - Mar 24th, 2009 at 2:56pm
Print Post  
Hi Stoyan

Well… since it is a bubbling event I caught it on the container and managed it from there…

Undo/Redo is on your plans for the near future ?

Thx

Hai
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: DiagramLite 1.0.2 beta
Reply #4 - Mar 24th, 2009 at 6:47pm
Print Post  
Hi Hai,

We'll implement grouping and multiple resize for a client first, and perhaps will get to undo/redo after that.

Stoyan
  
Back to top
 
IP Logged
 
Hai
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 63
Joined: Jan 7th, 2009
Re: DiagramLite 1.0.2 beta
Reply #5 - Mar 25th, 2009 at 11:38am
Print Post  
OK

I'll wait.
Please, if you can, update me as soon as it is in....

Thx
Hai
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint