Skip to content

obsidian/internals/internal-plugins/canvas

InterfaceDescription
BBoxAxis-aligned bounding box.
BezierBezier curve used for rendering canvas edge connections.
CanvasDataManagerManages saving, loading, and maintaining canvas local data on disk.
CanvasEmbedRepresents an embedded file reference within a canvas node.
CanvasIndexIndex that tracks and resolves links, embeds, and metadata across all canvas files.
CanvasIndexEntryRepresents a single entry in the canvas index, containing cached metadata and embeds for a canvas file.
CanvasMenuContext menu and toolbar displayed on the canvas for node/edge actions.
CanvasPluginInternal plugin definition for the Canvas feature.
CanvasPluginInstancePlugin instance for the Canvas internal plugin, managing canvas indexing, data, and rename operations.
CanvasPluginInstanceOptionsUser-configurable options for the Canvas plugin.
CanvasRectExExtended rectangle representation for the canvas, providing both min/max and position/size properties.
CanvasSelectionManages the visual selection state on the canvas, including selection bounds and resize handles.
CanvasViewView for displaying and editing canvas files, extending obsidian#TextFileView.
CanvasViewCanvasMain canvas controller that manages rendering, selection, drag, zoom, pan, nodes, and edges for the canvas view.
CanvasViewCanvasEdgeRepresents a connection (edge) between two nodes on the canvas.
CanvasViewCanvasEdgeLineEndRepresents the visual endpoint (arrow, dot, etc.) at one end of a canvas edge.
CanvasViewCanvasEdgeLinkRepresents one endpoint of a canvas edge, linking it to a specific side of a node.
CanvasViewCanvasEdgePathSVG path elements for rendering a canvas edge, with separate paths for display and interaction.
CanvasViewCanvasNodeRepresents a node on the canvas with position, size, content, and connection capabilities.
CanvasViewCanvasNodeBaseBase interface for canvas nodes, providing core editing and interaction methods.
CanvasViewCanvasNodeBaseBaseIntermediate base interface for canvas nodes, adding lifecycle and content mounting methods.
CanvasViewCanvasNodeBaseBaseBaseLowest-level base interface for canvas nodes, providing core properties and interaction methods.
CanvasViewCanvasNodeUnknownDataBase data shared by all canvas node types.
CanvasViewConfigConfiguration options for the canvas view.
CanvasViewDataSerialized canvas data containing all nodes and edges.
CanvasViewDataEdgeSerialized data representation of an edge (connection) between two nodes in the canvas.
CanvasViewDataNodeSerialized data for a canvas node.
CanvasViewHistoryManages undo/redo history for canvas state changes.
EdgeIndexSpatial index (R-tree) for efficient hit-testing and spatial queries on canvas edges and nodes.
EdgeIndexBaseBase interface for the spatial edge index, extending the R-tree with custom insert/remove behavior.
EdgeIndexBaseBaseR-tree spatial index base implementation for efficient spatial queries on canvas elements.
EdgeIndexDataNode in the spatial index (R-tree) for canvas edges.
NodeInteractionLayerLayer that handles user interactions with canvas nodes, such as resizing and connecting.