Skip to main content

Diagram Tools

Diagram tools help you manage the visual representation of a model, open related data, discuss decisions, and perform operations that apply specifically to the current diagram.

In the editor, it is important to distinguish between:

  • actions on the diagram as a view;
  • actions on the model object;
  • actions on the visibility of an object on a specific diagram;
  • actions on data flows;
  • actions on documentation;
  • actions available only when the following features are enabled: AI, chat, sharing, locking, external elements.

Editor Top Menu​

The top menu is located above the workspace in the updated editor.

It includes:

  • a button to return to the diagram list;
  • the Diagram menu;
  • the Reports menu;
  • the Data Flow menu;
  • the Search item;
  • the AI, Chat, Share, Lock, and Full screen buttons, if the features are enabled;
  • the Highlight action for quick and compound search across visible objects.

Some items appear only when the corresponding permissions are available. For example, renaming a diagram requires diagram edit permission, copying requires diagram creation permission, and managing a share link requires a separate sharing permission.

Loading image...
The Diagram menu includes rename, copy, details, history, export, and settings actions.

Structural Editing Palette​

The palette on the left is available immediately if the user has edit permission and the current branch allows writing. The upper block creates new elements, and the lower block adds existing ones from the model. The set of types depends on the diagram and on strict dev mode: for example, ERD offers tables, Domain Class offers classes, Use Case offers actors and use cases, and State offers states.

The catalog supports search, type filters, multiple selection, and creating a new object. When one item is selected, you can immediately create an initial relationship with an already visible object and set its label.

Details and History​

ItemWhat it shows
DetailsName, type, domain, author and creation date, description and linked entity; participant contribution; change summary; full history.
Change historyA side timeline of actions on the current diagram with the author, time, and subject of the change. A supported action can be undone if it belongs to the user and permissions allow it.
Loading image...
General information is accompanied by analytics, change-list, and history tabs.

Element Highlighting​

Highlight works only with objects that are visible on the current diagram.

  1. Click Highlight and enter a quick criterion by name, description, or attribute value.
  2. For a complex query, open Advanced mode.
  3. If needed, restrict object and relationship types.
  4. Add conditions and nested groups, connecting them with AND or OR.
  5. Assign a color to each condition and click Done.
  6. Clear the result with Reset highlighting.

The menu shows the number of matches and preserves the indicator for configured conditions while highlighting is active.

Loading image...
Two relationship conditions are joined with OR and rendered in different colors.
Find an object and highlight relationships with multiple combined conditions.
Loading image...
Selecting a search result centers the object and opens its Properties panel.
Loading image...
Matches retain condition colors while the rest of the diagram remains visible for context.

Canvas Zooming​

The scale of the main diagram changes with the + and - buttons, as well as with a pinch gesture on a trackpad or Ctrl + mouse wheel. The gesture changes the scale continuously and proportionally to movement; the sensitivity of a single event is limited so that a sudden movement does not cause a large jump. The point of the diagram under the cursor remains fixed, so zooming does not move the user to the upper-left corner. At high zoom levels, the canvas receives additional scroll margin and the actual SVG position is corrected after rendering so the cursor does not shift away from the selected point. The lower zoom limit is calculated from the SVG size: zooming stops when at least one side of the diagram reaches the boundary of the visible area; the absolute limit of 10% is retained for very large diagrams. For a diagram larger than the viewport, scrolling ends exactly at the SVG boundary. If the diagram fits on one axis, it is centered and scrolling on that axis is blocked; if the SVG fits entirely, scrolling does not change its position. For the buttons, the last cursor position over the diagram is used; if the cursor has not yet entered the workspace, zooming is performed relative to the center of the visible area.

How to Collapse Expanded Relationships​

On a C-model diagram, a relationship can be expanded into internal relationships at a more detailed level. As long as there is at least one expanded relationship on the diagram, an additional Collapse expanded relationships icon appears next to the + and - buttons.

Click it to remove all temporarily expanded detail in one action and return to the original diagram view. The button disappears when there are no expanded relationships left. It changes only the current view and does not delete elements or relationships from the model.

Back Button​

The back button takes the user from the editor to the diagram list.

It is hidden if the diagram is opened through a share link. A user who opens a share link should not be able to leave freely into the workspace.

Diagram Menu​

The Diagram menu contains:

ItemWhat it doesRestrictions
RenameOpens the dialog for changing the diagram name.Requires diagram edit permission; unavailable in read-only/share mode.
CopyCreates a copy of the diagram.Requires diagram creation permission; unavailable in read-only/share mode.
Line type / OrthoMakes lines orthogonal.Affects the diagram display.
Line type / PolyMakes lines polylines.Useful for diagrams with complex routing.
Line type / DefaultRestores the default line type.Use this if the lines look incorrect after experiments.
Export / PNGExports a raster image.Unavailable in read-only/share mode.
Export / SVGExports a vector image.Unavailable in read-only/share mode.
Export / PUMLExports a PlantUML representation.Unavailable in read-only/share mode.
Export / PDFExports the diagram to PDF.Unavailable in read-only/share mode.

If you need to export from the diagram list, use the row context menu in the Diagrams section. If you need to export flow documentation, use the documentation view.

Copying With a Type Change​

The Copy command creates an independent view based on an already populated diagram. In the copy form, you can change the name, description, domain, and diagram type. For example, a C2 diagram can be copied as Dynamic while preserving the original objects and relationships and leaving the original unchanged.

Copy a populated diagram and choose a different diagram type.
Loading image...
Review the name, description, type, and domain before creating the copy.
Loading image...
The diagram list contains both the original C2 view and the new Dynamic view.

Renaming and Moving Between Domains​

In the Diagrams section, open the context menu for the required row. The Rename command changes the name of the view, but does not affect its contents or identifier. The Configure command shows the current domain and allows you to start a move.

Loading image...
The menu provides rename, export, and configuration actions.

If the source and target domains have different owners, saving does not move the diagram immediately. SysCraft creates a request for the owner of the target domain. Until it is resolved, the settings show the new domain, the recipient, and the process state.

Loading image...
The target-domain owner can accept or reject the incoming request.

After the request is approved, the diagram appears in the target domain under the new name. If the request is rejected, the diagram remains in the source domain.

Loading image...
The diagram list reflects the approved move and new name.

Reports Menu​

The Reports menu contains:

  • Diagram object report - opens a tabular view of the current diagram's objects, properties, and related data;
  • All flows report - opens a specification of the diagram flows, if data flows and documentation are enabled.

The flow report is unavailable if:

  • the diagram has no data flows;
  • the user opened the diagram through a share link without the Data flows permission;
  • the user opened the diagram through a share link without the Documentation permission;
  • the diagram is locked in a way that prohibits documentation.

For more information, see:

Data Flow Menu​

The Data Flow menu appears if data flows are available for the diagram and the user has permission to view flows. For Dynamic diagrams, it is always available when permissions are present. For C1, C2, and C3, the menu is available if strict development mode is not enabled in the environment. In a public link, the menu is shown only when the link owner has allowed viewing data flows and the diagram already contains flows.

Each menu item corresponds to a separate flow. When a flow is selected, the system:

  • adds the flow identifier to the URL;
  • switches the diagram to data-flow mode;
  • highlights elements and scenario steps;
  • opens the flow control panel.

If there are no flows yet, the create item appears only to users with permission to create data flows. Editing a flow, creating steps, deleting a flow, and editing step properties are checked by separate permissions. A user with read-only access sees the menu only if flows have already been created.

If the menu is missing, check:

  • whether a flow has been created for the current diagram;
  • whether the data-flow functionality is enabled;
  • whether data flows are allowed in the share-link settings;
  • whether flow viewing is blocked by Lock.

The behavior of parallel, cyclic, and optional blocks in step-by-step playback is described in Data Flow Playback.

Strict Development Mode​

User settings include a Strict dev mode switch. In the documentation, this is called strict development mode.

When the mode is enabled, the editor applies stricter rules for diagram types:

  • data flows are available only on Dynamic diagrams;
  • when creating and adding elements, the type list is limited to those suitable for the current diagram;
  • unsuitable elements are not added through structure or dependencies;
  • the user receives a warning when attempting to add an element of an unsuitable type.

Only a user with the Disable strict dev mode permission can turn the mode off. If the permission is missing, the switch in the interface settings is locked, and the mode remains forcibly enabled. In a share link, this switch is unavailable.

If a data flow does not appear on a C1, C2, or C3 diagram, check not only flow permissions but also the state of Strict dev mode.

The Search item opens search across the elements of the current diagram.

Use it when:

  • the diagram is large and the object is hard to find visually;
  • you need to jump quickly to an element from a URL or discussion;
  • you need to check whether an object is visible on the current diagram.

Search is hidden in read-only/share mode. For global search across the model, use the search button in the top panel of the main screen.

AI Button​

The AI button with the sparkles icon opens an AI assistant for the current architectural context.

With AI, you can:

  • ask questions about the diagram;
  • ask for an explanation of how the system works;
  • look for gaps in the model;
  • prepare a draft of documentation;
  • ask for a list of clarification questions;
  • analyze data flows and interfaces;
  • explain the model to new team members.

For more details, see AI.

Chat Button​

The Chat button opens a discussion about the diagram.

It is available if:

  • chat is enabled in the environment;
  • the diagram is opened by a regular user;
  • the mode is not read-only;
  • the user is not in a share session.

If you need to discuss a specific object, open the object and use the Chat tab in the properties panel, if it is enabled.

For more details, see Chats.

Share Button​

The Share button opens the Shared access window.

The button is shown if sharing is enabled in the environment, the diagram is not open in read-only/share mode, and the user has permission to manage diagram sharing.

In this window, you can:

  • enable or disable the access link;
  • choose which sections are available to the recipient;
  • allow or disallow AI for the share link;
  • set an expiration date;
  • copy the link;
  • show a QR code.

Sharing is described in detail in Diagram Sharing.

Lock Button​

The Lock button opens diagram lock settings.

The button is shown if locks are enabled in the environment, the diagram is not open in read-only/share mode, and the user has diagram edit permission.

Locking is used when you need to restrict editing or viewing of specific diagram capabilities. The dialog provides the following toggles:

  • No edit diagram - prohibit diagram editing;
  • No view properties - prohibit viewing properties;
  • No create properties - prohibit creating properties;
  • No edit properties - prohibit editing properties;
  • No view data flow - prohibit viewing data flows;
  • No create data flow - prohibit creating data flows;
  • No edit data flow - prohibit editing data flows;
  • No export - prohibit export;
  • No docs - prohibit documentation;
  • No element drill down - prohibit drill-down navigation;
  • No link expand - prohibit relationship expansion.

If all toggles are turned off and the user saves the settings, the lock is revoked. If the settings have already been submitted and are in Pending status, the dialog may include a button to cancel the request.

Loading image...
The dialog shows diagram context, restriction toggles, Close, and Save.

For more details, see Diagram Lock Mode.

Full-Screen Mode​

The full-screen button expands the diagram to the entire screen or returns it to the normal size.

Full-screen mode is useful:

  • during demonstrations;
  • when working with a large diagram;
  • when viewing a data flow;
  • when checking readability before export;
  • when presenting a specification or diagram on a large screen.

BPMN Editor​

For diagrams of type BPMN_PROCESS, a separate BPMN editor opens.

The BPMN editor provides:

ElementWhat it does
Copy XMLCopies the current BPMN XML to the clipboard.
Import XMLOpens the dialog for pasting BPMN XML.
SaveSaves the BPMN process and model bindings to the server.
BPMN canvasThe process workspace.
Properties panelThe properties panel of the selected BPMN element.
Data flowBinding of a BPMN element to a data flow.
Flow stepBinding of a BPMN element to a flow step.
Model elementsBinding of a BPMN element to SysCraft model objects.
NoteA comment for the binding.
Clear bindingClears the binding of the selected BPMN element.

If the user changed the BPMN process and did not save it, the system stores a local draft. On the next open, if the local and server versions differ, a selection dialog appears:

  • Load server version - open the server version;
  • Open local draft - open the local draft.
Loading image...
The selected BPMN element can be linked to a data flow, step, and SysCraft model objects.

Left Dock​

The left dock is responsible for adding elements to the diagram.

Depending on the configuration, it shows:

  • Use - choose an existing model element and add its visibility to the diagram;
  • Add - create a new model element;
  • Add with creation - choose an existing element or immediately create a new one in a single scenario.

When an existing element is added, only its visibility changes on the current diagram. When a new element is created, it appears in the model and can be used on other diagrams.

The left dock is unavailable in read-only/share mode and on BPMN processes, where a dedicated BPMN palette is used. In a normal C4 diagram, it appears only when the user can create an object or relationship or change the visibility/properties of an element on the diagram.

Bottom Dock​

The bottom dock opens additional diagram actions.

It currently includes:

  • Tasks - opens tasks and requests associated with the model;
  • Documentation - generates a documentation view if the diagram has flows and documentation is enabled.

Some items may be hidden if the feature is not yet enabled in the environment, the diagram does not have the required data, or the action is prohibited by share/lock.

Element Quick Menu​

When an element is selected on the diagram, a quick menu appears.

For an object, the following are available:

  • Edit - open properties or the edit dialog;
  • Hide - remove the object from the current diagram without deleting it from the model.

Editing an object requires object edit permission; deleting requires object delete permission. Separate edit and delete permissions are used for relationships. If the permission is missing, the item may be hidden or the action may not complete.

For a relationship in C-model mode, the following are additionally available:

  • Up;
  • Down;
  • Left;
  • Right;
  • Release direction, if the direction has already been set.

Hiding an element does not delete the object from the model. To delete an object completely, use the delete action and check dependencies.

Data Flow Panel​

The data flow panel opens when a flow is selected.

It provides:

  • flow selection through a search field;
  • Data flow switch;
  • Sequence switch;
  • + button for creating a step;
  • Play to start playback;
  • Stop to stop playback;
  • back and forward arrows for step navigation;
  • an eye icon for each alternative sequence to hide or show it individually;
  • a menu with flow actions.

The flow menu provides:

  • Create;
  • Edit;
  • Change step order or Finish changing order;
  • Extract steps into a new UseCase;
  • Embed UseCase - appears in edit mode when a UseCase call step is selected;
  • Rename;
  • Configure;
  • Delete.

When AI is enabled, the three-dot menu also includes AI Flow Optimization. It opens a dialog where you can choose the analysis scope: all flows of the current diagram or all flows of the current landscape. AI receives the flow structure, steps, interactions, and properties and produces a detailed text report: what is suggested to change, why, what risks and prerequisites exist, and why the change is considered safe. This mode analyzes the model only - it does not apply commands and does not change anything automatically.

When changing the order of steps, the user moves a step by drag-and-drop and then confirms the move with Move or cancels with Cancel.

The Extract steps into a new UseCase command is located in the three-dot menu of both the compact flow widget and the expanded builder, and it is available in edit mode. It accepts only a continuous range from one sequence, automatically includes nested blocks and related alternatives, creates a new UseCase on the current diagram, and replaces the original range with a call step.

The Embed UseCase command is also available in both menu variants. Before execution, the dialog shows all references to the called UseCase, their flows, diagrams, and domains, as well as the full list of data to be transferred. If other references remain, the steps are copied and the source UseCase is preserved. If there are no other references, the content is transferred, and the source UseCase is deleted after the operation completes successfully.

If the flow mode is read-only, creating steps, moving, and editing are blocked.

Hiding an alternative is not flow editing: it is stored separately for the current user. A hidden branch disappears entirely from the diagram, from the documentation view, and from the Play route. For other users, the branch remains visible. In a normal authenticated session, the setting is available even without permission to edit the model; when signed in through a share link, personal visibility cannot be changed.

Create and Edit Step Dialogs​

The step dialog uses the following buttons:

  • Cancel - close the dialog without saving;
  • Next - move from step type selection to form filling;
  • Back - return to type selection;
  • Save - create a new step;
  • Apply - save changes to an existing step;
  • Delete - delete the step.

The Save and Apply buttons are disabled if the required form fields are not filled in.

For integration steps, the following are additionally used:

  • Use existing - bind an already created interaction;
  • Create new - describe a new interaction;
  • Edit interaction - modify the selected interaction;
  • Select again - return to choosing an existing interaction.

Edge Cases​

The Add Element Button Is Not Visible on the Diagram​

Check:

  • the diagram is not opened through a share link;
  • the user is not in read-only mode;
  • a landscape is selected;
  • the add function is not hidden by environment settings;
  • this is not a BPMN_PROCESS, where adding is done through the BPMN palette.

Export Is Unavailable​

Export is hidden in read-only/share mode and can be prohibited by locking. If export is needed for an external user, the diagram owner must export it themselves or enable documentation and send the HTML specification.

The Flow Menu Is Empty​

The current diagram has no data flows, or they are prohibited by the current access mode. Create a flow in the Data Flows section or check the share-link and Lock settings.

A Relationship Cannot Be Expanded​

Check that the data required for link relations is enabled:

  • data flows;
  • elements outside the diagram;
  • relationship expansion.

For a regular user, this depends on the environment configuration and Lock; for a share link, it depends on the sharing settings.

BPMN XML Does Not Import​

Check:

  • whether full BPMN XML was pasted;
  • whether there is an XML syntax error;
  • whether the BPMN element used is supported by the current editor;
  • whether a mode is open in which saving is prohibited.

Video lesson: Extracting a diagram subtree​

Practical walkthrough: extracting a diagram subtree.

Video lesson: Renaming and moving a diagram between domains​

Practical walkthrough: renaming and moving a diagram between domains.

Video lesson: Merging elements​

Practical walkthrough: merging model elements.