Skip to content
Konstantin Zaitcev edited this page Aug 28, 2014 · 3 revisions

diagram-editor.png

Source and Diagram mode

The editor support two modes for editing Yang file:

  • Source - this is standard Yang Source Editor, all changes performed in this mode automatically reflected in the diagram view
  • Diagram - this is visual structure view of the Yang module with relations between grouping, all changes perfumed in this mode automatically reflected on the source code.

Diagram View

Diagram view displays module structure in visual manner with references between uses and grouping items.

diagram-editor-view.png

The view allows the following opperation:

  • Direct edit name of the item
  • Delete item from module
  • Move item from one container to another
  • Change item position in container by drag and drop

Module Information Panel

Module information panel displays all information about module and allows edit this information like change module meta information (Contacts, Organization), modify imports or edit module revision.

diagram-editor-info.png

Property view

Property view displays properties of the selected item in the diagram editor and allows modify this property in convenient form.

diagram-editor-properties.png

Palette

Palette display set of Yang items available to insert into the diagram editor.

diagram-editor-palette.png

Visual Refactoring

The editor provides a basic refactoring functionality to extract selected items into the reusable grouping element. To extract element you need select items and run Refactor->Extract Grouping refactoring from context menu.

  • Home
  • First Steps
    • Installation Guide
    • [Import Project](Import Project)
    • [Create Project](Create Project)
    • [Yang Editor](Yang Editor)
  • New and Noteworthy
    • [1.0.0 release notes](M1 release notes)
    • [1.1.0 release notes](1.1.0 release notes)
    • [1.1.1 release notes](1.1.1 release notes)
  • [Features] (Features)
  • [M2E Integration] (M2E Integration)
  • [Yang Project Support] (Yang Project Support)
  • [Code Editing] (Code Editing)
  • [Code Navigation] (Code Navigation)
  • [Code Refactoring] (Code Refactoring)
  • [Diagram Model Editor] (Diagram Editor)
  • Developer Documentation
  • [Setup and build](Setup and build)
Clone this wiki locally