Canvas Objects

Reference for every object on the Designer canvas - components, shapes, sections, textboxes, images and edges - covering how each is added, what you can do to it, its style options, defaults and limits.

Everything on a Designer canvas is an object, and every object answers to the same small set of actions: add, select, copy, duplicate, lock, restyle, resize and delete. This page lists each object kind, each action, every style option and the limits that apply. Edges - the lines that connect objects - have their own section at the end.

Designer mode only. In Operator mode you cannot add, edit, duplicate, delete or rename objects, and live nodes discovered from a cluster are read-only in every mode. See Designer for how the two modes differ.

ObjectWhat it isConfigurableAdded from
ComponentA piece of infrastructure under management, such as a Deployment, an S3 bucket or a Lambda function.Yes. It carries configuration and is part of what gets deployed.The Components and Kubernetes pickers in the dock, a file import, or a drop
ShapeA visual primitive: a circle, an arrow, a flowchart symbol or a cloud-provider glyph.NoThe Shapes picker in the dock
SectionA labeled frame that fences off a region. Objects dropped inside it become its children and move with it.NoThe Section tool in the dock, or S
TextboxA resizable box whose content is text.NoThe Textbox tool in the dock, or T
ImageA picture embedded in the design.NoI, the Image tool in the dock, or a file drop
CommentA threaded note pinned to the canvas. See Reviewing Designs.NoM or the Comment tool in the dock
Pencil stroke and pen pointFreehand drawings and the joints of drawn lines. See Tool Modes.NoThe Pencil and Pen tools

Every object except a component is an annotation. Kanvas stores annotations in the design alongside components, but treats them differently:

BehaviorAnnotationConfigurable component
Layers panel toggleAnnotationsConfigurable Components
Kind name appended to the on-canvas labelNoYes
Has configuration to editNoYes
Counts toward the components-per-design limit of your plan when the design is savedYesYes

The plan limit counts every entry in a design, drawn objects included, so a heavily annotated design can reach the limit sooner than its infrastructure alone suggests. See Feature Availability by Plan.

MethodResult
Drag from a dock picker onto the canvasThe object lands where you release it.
Click an icon in a pickerThe object lands at a random position near the center of the canvas.
M, T, SAdds a comment, textbox or section near the center of the canvas. A textbox opens ready for typing.
IOpens a file picker for an image.
Drop or paste a fileSee the file rules below.
Paste a copied selectionAdds the copied objects and the relationships between them at the pointer.

A newly added component opens its configurator beside the node. A textbox starts inline text editing on double-click. Shapes accept body text too, so double-click a shape to type in it.

The Shapes picker lists the shape libraries registered in Meshery, with search across all of them. A default installation includes libraries for cloud providers (Amazon Web Services, Azure, Google Cloud Platform), developer icons, arrows, flowchart symbols, general-purpose shapes and line icons. The libraries come from the registry, so the list can differ between installations. Pin a library to the dock to keep it one action away - see Pinning a Model to the Dock.

The Shapes picker open in Kanvas Designer, listing the available shape libraries
The Shapes picker lists every shape library available to your design
The built-in Shapes library expanded, showing its shape primitives
A shape library expanded

A section draws its label along its top edge instead of through its middle, so the region it encloses stays readable. Drop other objects inside it and they move with the section. Deleting the section does not delete them.

A textbox on the Kanvas Designer canvas with a dashed border, a transparent fill and the caption 'Ingress tier - north/south traffic'
A textbox carrying a caption
FileResultLimit
Any image type the browser recognizesAn image object. The picture is embedded in the design as data, not linked.512,000 bytes (about 500 KB)
Plain text (.txt)A textbox holding the file text.512,000 bytes (about 500 KB)
YAML, JSON, TAR, GZ, TGZ, ZIP, RAR, 7ZAn infrastructure-as-code import at the drop position. See Importing Designs.Import rules apply
Any other typeIgnored with no message-

Files over the size limit are rejected with an error message. The limit is fixed and is the same on every plan. A file with no browser-reported type is classified by its extension.

GestureEffect
ClickSelects one object and shows its style toolbar.
Ctrl/Cmd + clickAdds or removes one object from the selection.
Ctrl/Cmd + drag on empty canvasDraws a selection box. Box selection is off in Pan, Pen and Pencil modes.
Ctrl/Cmd + ASelects every component on the canvas.

Dragging selected objects moves them together. Locked objects do not move.

Right-click an object, or press and hold on it, to open its menu. Each entry appears only when its condition holds.

ActionShortcutAppears whenBehavior
CopyCtrl/Cmd + CDesigner mode, object is not a groupMenu: copies that one object. Keyboard: copies the whole selection and every relationship whose two ends are both selected.
DuplicateCtrl/Cmd + DDesigner mode, not a groupAdds a copy to the same design.
Lock-Designer mode, not a group, not lockedFixes the object’s position.
Unlock-The object is lockedReleases the position.
DeleteDelete or BackspaceDesigner mode, not a groupRemoves the object. The keys delete the whole selection.
Reset styles-The object supports style changesRestores the object’s default styling.
Group-A multi-selectionTurns the temporary selection group into a permanent group.
Ungroup-A permanent groupDissolves the group.
Move Out of Parent-Designer mode, the object sits inside a parentTakes the object out of its parent.
The circular context menu open on a selected object in Kanvas Designer, with Lock, Reset styles, Copy, Duplicate and Delete around the object
The context menu open on a selected object

Every change an action makes, restyling included, is a change to the shared design, so Ctrl/Cmd + Z reverses it. See Canvas Actions.

Copy writes the object data to your system clipboard. Paste with Ctrl/Cmd + V into the same design, a different design or another browser tab running Kanvas.

  • Pasted objects land at the pointer when it is over the canvas, otherwise at the canvas center, and keep their relative layout.
  • Every pasted object receives a new identifier. Styling travels with the copy.
  • The browser must allow clipboard access. If it refuses, nothing happens and no message appears.

Duplicate skips the clipboard. It places the copy 50 pixels right and 50 pixels down from the original, gives it a new identifier and copies the relationships between members of the duplicated set. Duplicating a section together with its children reproduces the whole arrangement. Names are unchanged.

A lock fixes position only. A locked object can still be selected, restyled, configured and deleted, but it cannot be dragged, directly or inside a selection. The lock is stored with the object, so it survives a reload and applies to collaborators. Locking a section does not lock the objects inside it.

Deleting an object also removes the relationships that touch it. Kanvas marks those relationships as deleted rather than discarding them, so the next policy evaluation can undo any configuration they had applied. Deleting a section leaves its children on the canvas. Deletion is immediate and has no confirmation, but it can be undone.

Selecting one object shows a style toolbar above it. The toolbar edits the selected object; it does not apply a change to a multi-selection. Each control appears only when the object’s definition declares that capability, so the controls you see vary by object. The toolbar appears only when the canvas is zoomed in past a detail threshold; zoomed out, the canvas shows a hint to zoom in.

PropertyOptions
Shape24 outlines: ellipse, triangle, round-triangle, rectangle, round-rectangle, bottom-round-rectangle, cut-rectangle, barrel, rhomboid, diamond, round-diamond, pentagon, round-pentagon, hexagon, round-hexagon, concave-hexagon, heptagon, round-heptagon, octagon, round-octagon, star, tag, round-tag, vee. Changing the outline keeps the content.
Fill13 swatches including transparent, and an opacity slider from 0 to 1 in steps of 0.1.
BorderColor from the same swatches, style (solid, dotted, dashed, double) and thickness from 0 to 25.
Layer orderMove To Front, Move Forward, Move Backward, Move To Back.
LabelThe name drawn with the object.
LinkAn external URL. A link adds an External Link badge, which opens the URL in a new tab. See Component Badges.
ImageA background image, set by URL or by upload, with a reset to the default.
AnimationNone, blink, ripple, bounce or pulse.
TextColor, weight (Regular, Medium, Semi Bold, Bold, Black), decoration (none, underline, line-through), horizontal alignment (left, center, right), vertical alignment (top, center, bottom) and size.
ConfigureOpens the configurator. Components only. See Configuring Components.

The default text style is gray, 12 pixels, regular weight and centered. Sections carry their label on the top edge rather than body text.

Restyling changes only how an object is drawn. It never changes a component’s configuration or what gets deployed.

Reset styles re-applies the styling recorded in the object’s definition and discards every change made in the style toolbar. It restores the definition, not an earlier state, so it is not an undo. Position, lock state, configuration and relationships are untouched.

Select a single object and Kanvas draws eight handles around it, one at each corner and one at the midpoint of each side.

  • Drag a corner or side handle to resize.
  • Hold Shift while dragging to keep the aspect ratio.
  • Objects that contain other objects, such as a parent component or a section with children, show no handles.

Resizing needs the object’s definition to declare the resize capability. The new size is saved with the design.

An edge is a line between two objects. Each edge is a relationship in the design, and relationships come in two kinds.

Edge kindWhat it representsEffect
SemanticA relationship defined in the registry, such as a network connection or a volume mount.Kanvas updates the configuration of the components it joins as you draw it, and re-evaluates it as the design changes. See Relationships.
AnnotationA line you draw with the Pen tool to explain a flow or a dependency.Visual only. It is non-binding and configures nothing.

Select an edge to open the edge toolbar.

Examples of changing edge styles in Kanvas

ControlOptions
Line ColorThe same 13 swatches as fills. The arrowhead takes the same color.
Line StyleDotted, Solid, Dashed.
Arrow/Curve StyleA curve style and an arrowhead, listed below.
NameA text label drawn on the edge.
Edge AnimationNone, or marching ants: a dashed line that travels along the edge.
DeleteRemoves the edge. Works on any edge.
Curve styleShape
BezierA smooth curve. The default.
StraightA direct line.
SegmentsA line with two bends.
Round segmentsSegments with rounded corners.
TaxiRight-angle routing.
Round taxiRight-angle routing with rounded corners.
HaystackA short line that starts and ends inside the nodes.
Unbundled bezierA curve with one adjustable control point.
Multi unbundled bezierA curve with two control points.
Straight triangleA straight line drawn with a triangular profile.

Choosing a curve style applies its default geometry. Choosing Round taxi does not apply its default corner radius.

Vee (the default), triangle, circle, square, diamond, triangle-cross, tee, triangle-tee, circle-triangle, triangle-backcurve and chevron. An arrowhead is drawn at the target end only.

A new edge uses a dotted line, a vee arrowhead, a bezier curve, a width of 1.5 pixels and a light gray color. A selected edge draws at 4 pixels. Edges that carry TCP traffic draw as a solid gold line with a triangle-cross arrowhead.

Kanvas gates canvas actions by mode and by object capability, not by role. The permission catalog in Layer5 Cloud lists a key for each shape, section, textbox and component-styling action (add, copy, clone, lock, delete, configure styles, reset styles and resize), and organization administrators can include them in roles and keychains. Kanvas does not check those keys on the canvas today, so withholding one does not hide a control.

The permissions Kanvas does enforce on the toolbar are Validate Design, Deploy Design, Undeploy Design and Share Design. See Permissions by Role.

ActionGateWhen the gate fails
Add, duplicate, copy, paste, delete, lockDesigner modeThe control is not offered in Operator mode.
Edit a live cluster nodeNever allowedLive nodes are read-only in every mode.
Style, reset styles, resizeThe object’s definition declares the capabilityThe control is hidden.
Pen and PencilThe Enable Pen and Enable Pencil optionsThe dock icons are hidden.
ItemLimit
Image file512,000 bytes (about 500 KB), same on every plan
Text file512,000 bytes (about 500 KB), same on every plan
Border thickness0 to 25
Fill opacity0 to 1
Components per designSet by your plan and enforced when the design is saved. Annotations count.
Image count per designNo limit

Related Reading