Back to Blog
Xdiagram download6/18/2023 Pasting a copied node, for example, means that you have to override the AddNode method of the ObservableGraphSourceBase and provide a new unique Id for the new NodeViewModel. Please note that copy/pasting requires additional effort. You can download a runnable project demonstrating a similar approach from the online SDK repository. Now let's see a possible use case with this set of Diagram configuration and ViewModels: ![]() Once you have the string saved, you can later retrieve it and load the data using the RadDiagram Load(serializationString) method. This means that you can use this approach in case you need to save your diagramming structures in a database. The Save command implementation saves the serialized RadDiagram in a string object. EXPORT TO IMAGE FILE: The application can export current diagram to an image file with format of PNG or JPEG.Public class OrgItem : HierarchicalNodeViewModel Private diagramXMLString As String Private Sub CommandBinding_Executed_Save(sender As Object, e As ExecutedRoutedEventArgs) diagramXMLString = Me.xDiagram.Save() End Sub Private Sub CommandBinding_Executed_Open(sender As Object, e As ExecutedRoutedEventArgs) If diagramXMLString IsNot Nothing Then Me.xDiagram.Load(diagramXMLString) End If End Sub Private Sub CommandBinding_CanExecute(sender As Object, e As CanExecuteRoutedEventArgs) e.CanExecute = Me. > 0 End Sub ALIGN MULTIPLE ITEMS: Select many items then do right-click mouse to select alignment options as following: (also allow to auto-align with another objects)- Left - Right - Top - Bottom - Center (Horizontal or Vertical) - Horizontal center in View - Vertical center in View - CHANGE DISPLAY ORDER: Select items then do right-click mouse to select change order settings: - Send to back - Bring to Front - Bring forward 1 level - Send backward 1 level - OPEN/SAVE to "*.UMD" file: UMD (*.umd) is the new file type created only for this application. LOCK ITEM POSITION: Press "L" to lock position of items that you want to fix position, size. UNDO/REDO: You can perform unlimited undo and redo of your actions when edit a diagram. ![]() ![]() CUSTOMIZABLE COLOR / FONT / SIZE / LINE TYPE: Font color, font type, text size, line width, line color, line dash type, arrow type, background color of shapes could be changed easily by using toolbar controls. You could copy shapes/lines from current diagram window then paste them to another diagram window. COPY / PASTE: The application supports copy/paste function for shapes. GROUP / UNGROUP ITEMS (new): Group items for easy control of multi objects. ADD IMAGE: You could add any image file to display as an item inside the application. In order to use it, you need to load the modules/arc-diagram.js. Please press the Smile button on the left to add and select any symbol to the diagram. The arc-diagram chart visualizes relations and their strength between nodes of a data set. OVER 1000 BEAUTIFUL SYMBOLS: More than that, there are over 2000 beautiful symbols for you to add to the diagram. Drawing UML activity diagram will be easier using these shapes. You could add/change text to display inside the shape. BASIC SHAPE: There are many shapes to add to your diagram. Functions of the application: - SMART LINE / CONNECTOR: Smart Line if attached to a shape will automatically change position every time when the main shape is moved, resized. ![]() The application provides powerful graphic tools for designers, developers to draw UML activity diagram. Reliability block diagram analysis Fault tree, common cause and importance analysis Event tree analysis with multiple risk. "xDiagram 2" for iPad could help you make nice diagram graphic documents quickly by keeping lines connected to shapes even when they're moved.
0 Comments
Read More
Leave a Reply. |