Astah User's Guide

CRUD


CRUD

Create CRUD

  • Go to [Diagram] - [CRUD]
    CRUD
  • Create it from the pop-up meu in the Structure Tree.

Edit CRUD

You can open a window to edit CRUD by:

  • selecting [Edit CRUD] from CRUD's pop-up menu in the Structure Tree OR
  • clicking [Edit CRUD] button on the CRUD's property view.
    CRUD

CRUD Edit Window

On [Edit CRUD] dialog, edit the functions on the left, models in the right and common options at the bottom.

CRUD

Set Functions


LabelDefaultDescription
Show CRUD by groupONShow diagram names and group items by diagrams that they belong to.
function_groupingview_on
function_groupingview_off
Show total RowONShow the Total at the bottom.
Select Diagram Type to showSpecify diagram type (UseCase Diagram, Activity Diagram, Data Flow Diagram or Flowchart) to show in CRUD. There is only one diagram type to add in one CRUD.
Add Diagrams and Models
  1. Click [Add] button beside the function column.
  2. Click on the Diagram to show in CRUD then click [OK]. To select all, click on [Select All]. To deselect all, click on [Deselect All].
  3. Selected Diagrams and all items in selected diagrams are shown in the Functions Column in Tree. Check items to show in CRUD.
    function select_object_123
Set order of Diagrams and ModelsSelect Diagram then sort the order by using UP/DOWN buttons on the right.
Set background colorSet background color of function table and the total row. Click on the color box at the bottom of [Edit CRUD] dialog, and select color in [Set color] dialog.

Set Models


LabelDefaultDescription
Show items by grouping by diagramsON Show diagram names and items by grouping by diagrams that they belong.
model_groupingview_on
Show Total ColumnONShow the Total column at the right end.
Label Type (Logical Model/Physical Model)Logical ModelSelect the label type from the dropdown list.
Add Diagrams and Models
  1. Click [Add] button beside the Models column.
  2. Click on the diagram to show in CRUD then click [OK]. To select all, click on [Select All]. To deselect all, click on [Deselect All].
    model_add_diagram
  3. Selected diagrams and all items in selected diagrams are shown in the Models Column in Tree. Check on the items to show in CRUD.
    model delect_object_123
Set order of Diagrams and ModelsSelect Diagram then sort the order by using UP/DOWN buttons on the right.
Set background colorSet background color of Model table and total column. Click on the color box at the bottom of [Edit CRUD] dialog on the right, and select color.

Set common options


LabelDefaultDescription
Background color of Automatic ValueONClick on the color box to open the color chooser box for the color of Automatic Value Cell.
Set diagram’s cell value automaticallyIt automatically inserts total values in Diagram row/column.


Setting CRUD Value

Setting CRUD Value

  • Setting Value
    Directly enter C, R, U, D on the cell.
    set_edit_cell
  • On [Edit CRUD]
    Select cell then enter [C], [R], [U], and [D] keys to set CRUD value directly. Or double-click on the cell to insert value or right-click on the cell and select [Set CRUD Value].
    set_cell_dialog

Adding Diagrams

Select the diagram to add in CRUD in the Structure Tree then drag and drop it onto the CRUD in the Diagram Editor. (UseCase Diagram, Activity Diagram, Flowcharts and ER Diagrams are available). Different type of Diagrams cannot be mixed in one CRUD.



Export CRUD to Excel

To export CRUD to Excel, go to [Tool] - [CRUD] - [Export CRUD to Excel] in the Main Menu.

export_crud_excel

Export CRUD Statistics to Excel

Select [Tool] - [CRUD] - [Export CRUD Statistics to Excel] from Main Menu to export all CRUD statistics in the project file to Excel.

export_crud_statistics

System Properties

You can set detailed settings in the System Properties.

crud