Diagramming
Last updated
Last updated
Diagrams are at the centre of IcePanel. Combined with the C4 model, you can effortlessly show how your systems fit together at different levels of detail. Go from a high-level overview of your system to the apps and components that make it work. Add tags and flows to communicate different stories about your system. IcePanel's model-based philosophy enables you to create reusable objects across different diagrams, leading to greater consistency.
The diagram hierarchy in IcePanel is based on the C4 model, with 3 levels of connected diagrams (instead of Level 4 diagrams, we allow you to link objects to reality). There are 2 ways to create diagrams.
Go to the Diagrams section.
Select a Domain (if you have a single domain, you won't need to select one).
Click on the Create context diagram
button.
Navigate to the top left and click on the Diagrams
dropdown
Click on the New diagram
button
Diagram groups are only available on Growth and Isolation plans.
The top-level navigation bar shows where you are in the C4 hierarchy, allows you to navigate across and up levels, and view diagram details.
Use this section to:
See which diagram you're in and at which level.
Go back to where you were previously.
Navigate between different diagrams at a level.
Navigate to a diagram at a higher level.
View and edit diagram details (name, description).
See who last edited the diagram.
Adding an object to a diagram creates it in the model. This means you can reuse the same objects across different diagrams or make a single edit (to its name, for example) to change it everywhere. There are 3 ways to add new objects to a diagram.
Navigate to the left toolbar and hover on the +
button. A list of object types will appear.
Select the object type you want to add and place it in the diagram. You can also drag and drop.
Double-click in the diagram area.
Click on the object type you want to add.
Name your object.
Create a new system: Shift + S
Create a new actor: Shift + P
Create a new area: Shift + G
Create a new app: Shift + A
Create a new store: Shift + D
Create a new component: Shift + X
See all Hotkeys
There are 2 ways to add existing objects to a diagram.
Navigate to the left toolbar and click on the model objects
button (first one in the list).
Search for objects by name or toggle by domain.
Click on the object you want to add to the diagram or drag and drop
Double-click in the diagram area.
Search for the object by name or select the object from the dropdown list.
Click on an object to view or edit properties on the right-hand menu, such as:
Icon
Object name
Editable permissions (only available on Growth and Isolation plans)
Object type
Parent
Status (Live, Future, Deprecated, Removed)
Groups it belongs to
Owners
Diagrams the object is in
Flows the object is in
Tags
Displayed description
Technology
Reality links
Detailed description
Connections to and from the object
History of changes to the object
Any changes you make will affect the model and all diagrams the object is in.
There are a few ways to navigate across diagrams:
Clicking the 🔎 icon at the top-left of an object in a diagram. A numeric indicator will show how many objects are nested within the object. If there are no nested objects, a blank diagram will be created at a lower level when you click on it.
Selecting a diagram from the object dropdown at the top-level nav.
Selecting a diagram from the diagrams list from the right-hand objects details panel.
Connections are stored in the model as relationships. This means you can reuse those connections in other diagrams between the same object, keeping changes in sync and even allowing you to use connections from lower levels at higher levels as "implied" connections.
To connect model objects:
Use the + circular buttons on the edge of each object to drag a connection to another object.
If an existing connection exists in the model, it'll appear in a dropdown over the connection.
Name the connection and press Enter
or the + New connection
button.
Blank connections are not added to your model until you give it a name.
Each object has 12 unique connection points, except for actors, which have 6. For legibility, we recommend sending and receiving connections from unique points instead of overlapping.
Click on a connection to view/edit things such as:
Name
Team edit permissions (only available on Growth and Isolation plans)
Sender
Receiver
Status (Live, Future, Deprecated, Removed)
Direction - Outgoing (default), No direction, and Bidirectional
Line shape - Curved line (default), Straight line and Square edge line
Label position
Diagrams list
Flows list
Tags
Technology
Detailed description
You can also multi-select connections to edit their status, line shape, tags, and technologies.
To view an object's dependencies and connections:
Click on an object and navigate to the Connections
tab in the object details panel.
You'll see a list of incoming and outgoing connections, along with a breakdown of direct and lower connections. Use the filters to toggle viewing direct, lower, incoming, and outgoing connections in the list.
To view dependencies, Click on the View dependencies
at the top to see the incoming and outgoing dependencies of the object.
More details can be found here - Dependencies view
Existing connections from lower levels in the C4 model can be reused at higher levels. These are called lower connections and will sync changes in the original connection. These connections will show if a relationship has been created between objects inside (child objects) of those 2 objects previously.
When the original connection is updated, the lower connections will also update, including the sender and receiver of the connection in all diagrams in which it is located and the flows that the connected objects are in.
Using the expand option, you can show apps inside a system talking directly to an app inside another system.
To do this:
Go to a Level 2 (app) or 3 (component) diagram.
Add an external system or app,
Select the Expand
option in the object details menu.
Create new objects and change the parent to the external object.
To change the connection in the model to another object, click and drag the start or end of the connection to another object.
You'll see a modal to select either "New connection" or "Change connection in model":
New connection: This creates a duplicate new connection for that change with the same name (it does not copy over documentation).
Change connection in model: This will change the connection in the model and sync with the diagrams in which the old and new connections belong.
You can think of diagrams as a visual representation of a model. You can visualize the same model through different diagrams depending on what you want to communicate. When you update or delete your model objects, the changes will be made globally, wherever that object exists. This saves you time from manually going to each object and updating it.
Using the delete key in a diagram does not remove objects from your model. To permanently remove objects from your model, delete them from the object details menu or the Model objects tab (on the landscape page).
Here are some tips when creating diagrams:
Name all of your diagrams.
Name all of your objects (including connections).
Add icons to as many objects.
Add display descriptions to each object.
Create separate diagrams at the same level to reduce complexity.
Use the right level of complexity at each level (Level 1 should have fewer objects than Level 2).
Use the same connection type in a diagram (avoid mixing curves and straight lines).
Only use bidirectional connections for open connections like websockets. Otherwise, show the request connection and use Flows to show the response.
For legibility, avoid overlapping connections in a diagram.
Flows
Show different use cases
Linking to reality
Connect objects to code