Skip to content

Visio capability ledger ​

Embedded Word equations, checked against Visio 16, 2026-11-26 ​

Visio 16 disabled DoCmd(1646) (visCmdMSOInsertEquation). InsertObject rejected the Equation.3 and Equation.DSMT4 ProgIDs. InsertFromFile embedded a Word document with Office Math as a ForeignType="Object" shape. The page refers to a DOCX in visio/embeddings and the package has a separate cached EMF relationship. The viewer draws a read-only preview of the Office Math from that DOCX and preserves the full embedding, its relationships and its EMF when the drawing is edited. The preview covers equations within the configured limits. Word page layout, legacy equation payloads, equation editing and native equation insertion remain open. Visio 16 reopened the exported drawing through COM with the OLE object intact and the new horizontal position preserved. Visio commandsForeignData

Org chart glue, Shape Data and resize checked against Visio 16, 2026-10-31 ​

  • Glue form. A chart generated by the core (the Organization Chart template) was opened in Visio 16 over COM. Visio reads our ToCell="Connections.X4" / Connections.X1 rows with ToPart 103 / 100 as Connections.Bottom.X / Connections.Top.X (its own names for the Belt masters' Connection rows Top, Left, Right, Bottom, Float), every connector keeps both ends on those points, and moving a position through COM (PinX + 1.5) keeps the line on the Top point with EndX/EndY following. So the numbered form is written unchanged. The Belt swap now also reads the named form (Connections.Bottom.X) when a chart records it that way.
  • Promotion carries all Shape Data. visioOrgSwapMaster copies every Prop row of the position (label, prompt, type, format, value, hidden) to the Manager Belt, not just the five org rows. Only duration and currency rows (types 6 and 7), which the editor cannot write, are left to the master's own.
  • Photo frame PinY. The 0.0035 in difference noted on 2026-10-31 did not reproduce: a Position Belt resized to 2 x 1.2, 1.8 x 1.0, 2.4 x 1.5 and 1.625 x 1.1 in has the same PinX, PinY, Width and Height on its two direct sub-shapes as Visio 16 gives after the same resize over COM (equal to 8 digits; the frame's PinY is 0.6338172572 at 2 x 1.2). A unit test pins that value. The earlier figure probably came from a chart whose line weight was cached differently; no formula change was needed.
  • Manager losing its last subordinate: no change. Visio's Belt masters carry User.ShapeType (Executive 0, Manager 1, Position 2), User.HasSubordinates (a plain 0) and User.msvReplaceClass = "visOrgChart", so the type is switched by the org chart add-in's replace, not by a formula, and the add-in is not run by an invisible COM application (Addons lists Organization Chart, but no command to Subordinate or Delete is reachable without the UI). Nothing observed shows whether Visio reverts a Manager Belt or what it does for a shape glued under a Position Belt, so neither is implemented.

Tab stop alignment and the Tabs editor, checked against Visio 16, 2026-10-31 ​

Measured in Visio 16 (installed, through COM): shapes whose Tabs rows were injected into the page XML (the Position<n>/Alignment<n> pairs of the entry below), opened, and the page exported with Page.Export to SVG, whose dx offsets give the text positions (Calibri 12 pt, left margin 0). Alignment codes are 0 left, 1 centre, 2 right and 3 decimal: a 12.50 after one tab sat centred (dx 4.281em), ending (3.142em) or with its point (4.408em) on the 1 in stop, and on 0 it started there (5.421em). A decimal stop on text without a decimal point ends the text on the stop, as a right stop does. With no stops, tabs step to the next multiple of 0.5 in; past the last stop the same 0.5 in steps continue from that stop; a tab always moves to a stop strictly to the right of the text so far; text that cannot fit before a right stop follows the previous text directly. Stops are measured from the text block's left edge inside the margin (a 0.25 in margin moved the stop with it). In a centred or right-aligned paragraph the line is laid out from its own start and the whole line is then moved to its anchor, so the stops are measured from that start.

Visio 16 ignored the alignment of a Tabs row that held a single Position/Alignment pair in the injected XML (the stop worked as left, and the re-saved row held the alignment value as a second position); with a second pair, even a 0/0 one, every code was honoured. The editor therefore always writes at least two pairs, padded with the 0/0 pair Visio itself adds on a re-save.

Changed: visioTabStarts already handled all four alignments and now has unit tests built from these positions (tab-stops-visio.test.ts); the renderer (and the PDF export, which draws its rows) now lays out centred and right-aligned lines with tabs instead of keeping one run. The Text dialog's Tabs tab writes the stops (tabStops on format-text, a list such as 36, 108 center, 180 decimal in points), covered by edit-text-tabs.test.ts and e2e/visio/text-tab-stops.spec.ts. The dialog fields are English only, as the dialog's other fields are today.

Still open: justified and distributed lines keep one run; right-to-left lines are untouched; stops are measured from the text block margin, not from a paragraph's left indent (not checked); the editor writes Tabs row 0 for the whole shape, so a text with tp markers pointing at other Tabs rows keeps those rows; the shortened list zeroes surplus pairs rather than removing cells; the file Visio itself would write for a single stop is unknown.

Data graphics as Visio data graphic masters, 2026-10-31 (wave 6) ​

How the sample was obtained. Wave 5 could not bind a graphic through Visio.InvisibleApp. Visio.Application with Visible = $false binds it, but only for a shape that is linked to a data row: link a shape to a recordset (DataRecordsets.AddFromXML with an ADO XML string, then Shape.LinkToData), open a stencil with Documents.OpenEx(DVCALL_U.VSSX, 64) and assign Shape.DataGraphic = Masters.ItemU("Data Table 1"). Visio then built its own graphic for the columns (Data - Test, a Progress bar and a Flags icon set) and saved it; reading Shape.DataGraphic back names it. The structure Visio saved (recorded under the scratchpad, not committed): the owner stays shape 1 but becomes Type="Group" with its own geometry and text kept (DisplayMode 1 draws it behind the members); its User section gains visDGDisplayFormat (F="USE({UniqueID of the graphic})"), msvLayoutIncludeSubshapes and visDGDefaultPos; its Controls gain msvDGPosition; the page gains a Data Graphic layer and User.msvDGCalloutGap; the document sheet gains User.msvLastAppliedDataGraphic. Each callout is a child instance of the callout master whose Prop.msvCalloutField is a formula on the owner's Shape Data row (Sheet.1!Prop._VisDM_Sales), whose visDGDefaultPos is a PNT point and whose pin is a formula of that point and the owner's size. The graphic itself is a hidden master of kind 2 whose page sheet holds visDGNextItemID and msvDGCalloutGap and whose shapes list the items (visDGUseMaster = USE("Progress bar"), visDGField0 = {Sales}). The only shipped files with data graphic instances are the PivotDiagram-style templates (PBASLN, PCRTSK, PCSHFL, PRSAVL, PRSSTS, PTSKST and SOCIAL_DISTANCING); no sample or other template has one.

What is written (data-graphic-masters.ts, data-graphic-instance.ts, edit-data-graphic.ts). A new edit set-data-graphic makes a local shape's graphic exactly a list of items (text, bar or icon over a Shape Data row, with a position and a range); an empty list removes it. It adds this package's own callout masters, authored as the wave-5 CFF masters were: Visio's names (Text callout, Data bar 1, Status icons), its msvCalloutType, msvCalloutField and visDG* cells, and shapes drawn here (a bordered text field, a frame with a second path as wide as the share of the range, a circle whose fill is a formula of the share: red, amber, green). Microsoft's DVCALL masters are not copied. The hidden data graphic master carries the items; the owner's visDGDisplayFormat names it by GUID. The owner becomes a group, the callouts are children whose value cells are formulas on the owner's row, and each caches what Visio would compute. Positions are the eight of the Position gallery stored as visDGDefaultPos points (PNT(5,5): beyond the far edge on each axis, -1 beyond the near edge, 2 centred); items at one position stack by visDGStackHeight. Reading, Position, Auto Space, Configure and the Advanced Data Graphics list work from those cells (ui/data-graphic-native.ts); a shape that is a local shape with geometry and no marked parts takes the native graphic, anything else keeps the marked shapes.

What keeps it true. The callouts' value cells are formulas, but the file also caches them, and the viewer draws the cache. After Shape Data, data refresh, link, unlink or resize edits every native graphic on the touched pages is written again from its own cells with the same shape IDs (edit-data-graphic-refresh.ts). Resizing, deleting and duplicating the owner run with the graphic taken off and written again afterwards (the group edits refuse stencil members that carry their own pose formulas): a resize lays the callouts out for the new size, a copy has its own graphic. Formatting an owner formats the shape's own cells and not the callouts. Three small changes to shared code were needed: the formula parser reads a braced GUID as text, USE is a function that reads no cell, and a Shape Data edit does not refuse because a callout reads the row.

Checked in Visio 16 over COM (Visio.InvisibleApp, a file from set-data-graphic). The shape's DataGraphic reads Data Graphic; the three callouts report IsDataGraphicCallout True and name their masters; their pins are below, below and above-right of the shape as written. Setting Prop.Sales to 10 and Prop.Region to South through COM changes the text callout's field to South, the bar's and the icon's Prop.msvCalloutField to 10, their PercentFilled to 0.2 and the icon's fill to red, and the exported page reads Region: South. So the callouts follow the data in Visio itself, not only in our viewer.

Not done. An instance of a stencil master (every Data Visualizer shape) and an ordinary group still get the marked shapes: Visio makes a group holding an inheriting copy there, and the member and pose-formula rules of the group edits refuse it. The callout masters are ours: the gallery of Visio's data bar styles, icon sets and callout shapes (DVCALL) is not offered, and a graphic Visio built from them reads back but is edited through the same three kinds. The msvDGPosition handle, the Data Graphic layer, msvDGCalloutGap on the page and msvLastAppliedDataGraphic are not written (the gap is a literal 0.05 in the formulas). Visio's Edit Data Graphic dialog was not opened on our file (COM cannot drive a dialog); a bar and an icon callout are drawn here, but their look was checked in the viewer, not compared pixel by pixel with Visio's. Grouping an owner, ungrouping it and change-shape on it are not supported.

Tab stop cells, checked against Visio 16, 2026-10-31 ​

Visio 16 saves a paragraph's tab stops in one Tabs row (the row a tp marker selects, row 0 by default) as numbered cell pairs counted from 0: Position0 in inches with Alignment0, then Position1 and Alignment1. The stencil masters Microsoft ships show it (Entity in ENTITY_M.VSSX: 0.25 and 0.75 in, left; Pivot Node in DRILLD_M.VSSX: 1 in, alignment 2), and a page shape that Visio 16 re-saved after a stop was injected keeps the same names with U="IN". Our reader already read these names, so no code changed; the tests now use the Visio-saved XML (tab-stops.test.ts). The Visio-saved sample is recorded by scripts/record-visio-tab-stops.ps1.

Not closed: COM cannot add tab stops. The Tabs section refuses AddRow ("Operation not allowed for this row type") and cell writes on a text shape are not kept on save or reopen, so no stop was written by Visio itself. Alignment codes 1 to 3 (centre, right, decimal) follow the documented order and are not compared with Visio's text layout, which COM does not expose. Stops in a row above 0 are not seen in any stencil or saved file.

Locale terminology pass, 2026-10-31 ​

The de, es, fr and zh-CN strings added for the Picture Format, Container Format, Org Chart, Data Visualizer, Data Graphic Fields, Bevel and 3-D Rotation, Cross-Functional Flowchart tabs and the File backstage were checked for terminology consistency, not by a native speaker. Changes: de Bevel Abschrägung (matching "No Bevel"), Container-Format and Container-Formatvorlagen, backstage "Swimlanes" and "Verbindungslinien", and .vsdx-Datei in the text strings; es container resize message wording; fr Crop Recadrer (matching Crop to Square and Reset Crop); zh-CN Add Comment 添加批注 (matching Comments). The Picture Format names (de, es, fr, zh-CN) already matched the expected terms. The strings still need a native review.

Data Visualizer refresh and connector labels, 2026-10-31 ​

  • Connector labels are the connector's own text. create-line takes an optional text; the line gets a text block (TxtPinX at Width*0.5, TxtAngle of -Angle so the label stays level) and a Text element, so a label moves, reroutes and is deleted with its connector. Visio 16 opened a Data Visualizer file through COM and read Yes and No as the connectors' Text. Files drawn by the earlier version keep their separate label text boxes until the next refresh, which removes them.
  • A refresh keeps shapes whose row key matches. A step whose Process Step ID and Shape Type are unchanged keeps its shape ID, formatting and glued connectors: only its text, Shape Data and (in a cross-functional chart, when its Function changed) its lane are updated. A connector whose from>to key remains and whose ends were kept keeps its ID and only its label text is updated. Steps whose Shape Type changed, new rows and new links are drawn; rows and links no longer in the table are deleted. Shapes the user added are untouched.
  • One undo step. A draw or refresh is one applyEdits call. A stencil instance can only be deleted in a transaction of deletions alone, so delete-shape takes deferred: true: the editor runs those deletions after the rest of the batch in a transaction of their own, still one call for the caller. Other mixed delete batches keep refusing atomically.
  • Still open: data graphic masters. Data graphics stay separate marked shapes. Findings for whoever continues: Shape.DataGraphic = master through Visio 16's InvisibleApp imports the graphic's masters into the document but does not bind it to the shape (reading DataGraphic back is empty and the page gets no callouts), so applying one could not be captured through COM here. What Visio itself writes was read from its shipped PivotDiagram templates: the owner becomes a Group whose children include an inheriting copy of the original shape (MasterShape) and one instance per callout item (Border rectangle, Text callout, ...), each a stencil master instance whose cells are formulas on the owner's Prop rows (visDGCalloutItem, visDGDefaultPos, visDGMinBorderSize, visDGCBVFill User rows), plus an msvDGPosition control on the owner, a Data Graphic layer, and the graphic itself as a hidden master of the data graphic kind carrying visDGNextItemID and msvDGCalloutGap. Writing that needs the callout item masters (Microsoft's, from the DVCALL stencil) and an owner-to-group conversion, which was not attempted. Data Visualizer still does not use Visio's online template service.

Control handles, shape actions, User and Scratch cells and tab stops, 2026-10-30 ​

The model now carries each shape's Controls rows (controls: local position, prompt, which axes a drag may change and why not), Actions rows (actions: menu text, checked, disabled, invisible, sort key and whether the editor runs it), User cells (userCells), Scratch rows (scratch) and the tab stops of each paragraph (tabs), all merged with the master's rows. A selected shape draws a yellow square per control (grey when it cannot move). Dragging one on a free axis (XCon or YCon of 0 and an X or Y formula that is a ratio of the size, optionally inside BOUND(...)) commits a set-control edit: the cell becomes Width*r or Height*r inside its own BOUND limits, as Visio writes it, the value is clamped by those limits, and every geometry, connection point and text block cache that follows is recalculated through the instance evaluator (stencil instances write F="Inh" caches, local shapes update their cached values). A formula the evaluator cannot recompute, a locked axis or a formula that is not a ratio refuses the drag with the reason and writes nothing. Checked against Visio 16 over COM (scripts/record-visio-controls.ps1, optional test edit-control-native.test.ts): dragging the free axis of the Basic Shapes Can, Parallelogram, Trapezoid, Chevron, Cube and Cone to 30% saves the same cells, units and formulas and the same parsed geometry (the Cone's limit is another geometry cell). The Cross and Drop dropped without a free first handle in that run and are not compared. The geometry updates on release; nothing is recomputed live during the drag.

The shape context menu lists the Actions rows (checked and disabled kept, SortKey order, the reason as the tip of a disabled entry). An action runs when its formula is SETF(GetRef(cell), value), alone or added together, on a cell of the shape itself; the value is evaluated, written as a plain value, dependents are recalculated and Menu texts that are IF(..., "a", "b") are refreshed. Checked against Visio 16 (scripts/record-visio-actions.ps1, edit-action-native.test.ts) for the Annotations Callout Show Box action: the saved page matches cell for cell (section order aside). Other functions are disabled with their name.

Tab stops are laid out for left-aligned text from the text block's left margin: left, centre, right and decimal stops, then 0.5 in steps. No Visio-authored file with explicit tab stops could be produced (Visio's automation does not add stops), so the Tabs cell names (Position<n>, Alignment<n>) follow the documentation, the 0.5 in default is assumed, and centred, right-aligned and justified lines keep the old single-run layout. User and Scratch cells have no editor yet.

Resize hints and theme embellishment, 2026-10-30 ​

Resize now snaps the moving handle point to the edges and centres of other visible shapes (Dynamic Grid) and to shown guides, using the move's threshold; the snapped drag is re-solved from the pointer, and Alt leaves snapping out for the drag. Each snapped axis is drawn as an alignment line, and a nearby shape whose width or height equals the result's is outlined (src/core/visio/ui/resize-snap.ts). Ctrl resizes about the centre, both for one shape and for a selection; Shift keeps the proportions. The gesture details are not verified against Visio: COM cannot drive the pointer, so Ctrl and Alt follow the keyboard behaviour we understand, and the outline style is ours.

Design > Variants > More > Embellishment offers Low, Medium and High. Each writes the page's EmbellishmentIndex cell (Low 1, Medium 2, High 3, the values in VISIO_EMBELLISHMENT_INDEX), alone in its own edit. Visio 16 accepts the cell and keeps it through a save. The level-to-index mapping is not checked against Visio's gallery, and the embellishment geometry is not drawn. Theme connector arrowheads are not themed from the connector scheme.

Picture adjust, crop and container options, 2026-10-30 ​

Picture Format > Adjust now sets Brightness and Contrast from Visio's -40% to +40% presets. Visio 16 stores both as plain shape cells (Brightness, Contrast, 0 to 1, 0.5 neutral), not in an Image section; the viewer draws them with an SVG colour transfer. Crop to Square and Reset Crop write Width, Height, PinX/Y, ImgOffsetX/Y and ImgWidth/Height (inches) and keep the picture's scale. Free-drag cropping is not offered. Compression and Auto Balance stay disabled.

Container Format: Margins write User.msvSDContainerMargin (inches), Automatic Resize writes User.msvSDContainerResize (0 no automatic resize, 1 expand as needed, 2 always fit to contents), and Lock Container writes User.msvSDContainerLocked (BOOL). Visio 16 reports the same cells through ContainerProperties (ResizeAsNeeded, LockMembership, FitToContents). A locked container refuses membership changes, and shapes that move into or out of it leave it alone. Fit to Contents now takes the members' box whatever the resize mode, so it shrinks a container that expands as needed; the margin and heading allowance match the expanded fit.

The Width and Height boxes in the Size group (Shape, Picture and Container Format) commit through the same core resize as Size & Position.

Not verified against Visio's gallery: the preset percentages and the Margins labels (None, Narrow, Normal, Wide) are the editor's choice, and the picture crop was checked by cell round-trip only, not by rendering. The de/es/fr/zh-CN strings are unreviewed.

Group and selection resize, 2026-10-30 ​

  • Group resize scales nested groups (recursively, each group against its own new size) and rotated or flipped members. Visio 16, driven through COM on a group of a plain, a 30 degree, a 90 degree and a FlipY rectangle (one pair in a nested group), computes a member's local size as W' = W(cos^2 sx + sin^2 sy) and H' = H(sin^2 sx + cos^2 sy) with pins scaled by sx and sy; it saves these as Sheet.N!Width*a+Sheet.N!Height*b formulas. The core writes the same formulas and keeps authored ones that already follow the pose. edit-group-resize-native.test.ts asserts every member cell Visio read back (__fixtures__/group-nested-rotated.*).
  • Selection resize takes groups, rotated and flipped shapes (the same squared-cosine rule on the page axes, from the saved transform; angles unchanged), shapes with glued connectors (the core reroutes them per command) and layered shapes on unlocked layers (edit.ts refuses a locked layer for any caller). That rule for a free multi-selection is Visio's group rule applied by analogy; it was not separately measured.
  • Still refused: see "Glue through groups and stencil members, 2026-10-31" below.

Glue through groups and stencil members, 2026-10-31 ​

  • Nested glue. Visio 16 (COM) on a group of two rectangles with a Dynamic connector glued to one member: group PinX +3 puts the connector begin at (5.5, 4); Width x1.5 and Height x2 about the centre pin at (5.0, 4.5); Angle 0.5 rad at (5.1836, 3.9204); the free end stays at (8, 6.5). The core now composes the group chain's transform for a glue target at any depth, reroutes with the existing router, and gives the same numbers (edit-group-glue-native.test.ts, __fixtures__/group-glued-connector.vsdx).
  • Turned glue targets. COM at 0.5 rad on a 1.5 x 2 box and on a 2 x 0.75 box at 30 degrees (the older recorded case) shows the glued end where the horizontal or vertical line through the centre crosses the facing side, or at the side midpoint when that line leaves through the neighbouring side. The core uses that rule for any shape not on the page axes (it used the turned side's midpoint before, which matched only the 30 degree case). Not modelled: at 1.2 rad Visio also slid the end along the side to the other end's coordinate.
  • Stencil and layered group members. Visio 16: a group of a stencil Rectangle instance and a rectangle on layer L1, resized x1.5 by x2, gives the member pins, sizes and the glued connector end in edit-group-stencil-resize-native.test.ts. The core writes the stencil member's PinX, PinY, Width and Height as Sheet.N!Width*k formulas, refreshes the inherited geometry and connection caches through the instance writer, and refuses a locked layer on any member.
  • Selections. A multi-selection may hold stencil instances (each resized and moved by the single-instance path; the resulting pose is proved afterwards, not measured against Visio) and connectors whose two ends are glued inside the selection (they reroute with the shapes; they are not translated).
  • Still refused: a connector or glued source inside a group; a group glued directly; a group that holds an instance of a group master; stencil members with pose formulas other than the group's size; a selected connector with a free end or an end glued outside the selection.

Data connections, keys and graphic placement, 2026-10-30 ​

  • Data connection. Visio 16 (read-only COM, DataRecordsets.Add over a CSV) writes visio/data/connections.xml (DataConnections, DataConnection ID ConnectionString Timeout), related from the document as .../relationships/connections with content type application/vnd.ms-visio.connections+xml, and a DataRecordSet carries ConnectionID, Command and RowOrder. Import now writes the same parts (data-connections.ts), sharing one connection between recordsets with an equal string and dropping it with the last recordset. A browser knows only the file name, so Data Source is that name (or . for a CSV folder), not a path; Visio would have to be pointed at the file. Acceptance of our connection by Visio is not verified.
  • Primary key. SetPrimaryKey(2, ["ID"]) in Visio 16 writes <PrimaryKey ColumnNameID="ID"/> after DataColumns and drops RowOrder. Custom Import takes a unique identifier column and writes the same; the parser reads it.
  • Refresh by key. matchRefreshedRows maps each old row to a refreshed row by the key text (or by position when there is no key); linked shapes follow their row, update their values, and a shape whose row is gone keeps its values and is unlinked. visioRefreshReport tells the user how many matched, which shapes lost their row and how many rows are new. A refreshed table without the key column is refused.
  • Link Data. The Data tab command opens the External Data window (linking by drag, by selected row and by a key column already existed), importing first when there is no recordset.
  • Position, Configure, Auto Space. Generated graphics remember their field, position and resolved range in their marker row (prompt and format). Position redraws an owner's graphics at one of eight places around it, Configure reopens the Data Graphics dialog with those values, and Auto Space stacks graphics that share a place. Graphics are still separate marked shapes, not Visio data graphic masters, so their placement is this viewer's own.
  • Still open. Visio data graphic masters (see the Data Visualizer entry below).

Data Visualizer, Data Graphic Fields and Advanced Data Graphics, 2026-10-30 ​

  • Data Visualizer. Data > Data Visualizer > Basic Flowchart or Cross-Functional Flowchart reads a local CSV or workbook (first sheet, header row) with the columns Process Step ID, Description, Next Step ID, Connector Label, Shape Type and Function (a template CSV can be downloaded). Next Step ID and Connector Label take comma separated lists matched by position. Shape Type maps to Basic Flowchart masters (Process, Start, End, Decision, Subprocess, Data, Document, ...); unknown types draw as a Process and are reported. Steps are stencil instances with glued connectors and every column as Shape Data; the cross-functional variant builds swimlanes from Function. Refresh Diagram redraws the generated shapes from the edited table (steps that stay keep their position; new steps go under their predecessor); shapes the user added are kept. Unverified against Visio's own Data Visualizer output, which is an online service. Connector labels are text boxes (a connector has no text block here) and do not follow the connector. Generated shapes are marked with a hidden _ooxmlVisualizer row. A page without an explicit size is not enlarged for a wide diagram.
  • Data Graphic Fields. A pane lists the visible Shape Data fields of the selected shape; a check shows the field as a text callout, clearing it removes that callout.
  • Advanced Data Graphics. Edit Data Graphic lists a shape's items (text callout, data bar, icon set, Color by Value, each with its field and position) and adds, edits or deletes them. A shape can now hold several items of a kind for different fields; items sharing a place stack.
  • Not done. Writing real Visio data graphic masters: not attempted (Visio was not run to capture its output), so graphics remain separate marked shapes.

PDF export options and embedded fonts, 2026-10-30 ​

  • Publish options. File > Export > PDF has Pages (all, current page, page range over the foreground pages) and keeps the Export page open afterwards with the per-page report: vector or picture (and why), what each page lost, fonts embedded and fonts refused.
  • Gradients, shadows, glow. Linear and radial gradients are PDF axial and radial shadings (stitched exponential functions, bounding-box units and gradientTransform honoured, painted with sh inside the fill's clip). Per-stop transparency is averaged and reported. A shadow is drawn as its offset copy with its opacity (ExtGState), hard-edged; a glow is a half-strength halo of the shape stroked as wide as the glow; both report that blur is not applied. Soft edges and reflections are still left out and reported.
  • Embedded fonts. visio-viewer.pdfFonts takes TrueType files from the host. Text in a matching family (and any text outside WinAnsi that a supplied font covers) is written as a subset Type0/CIDFontType2 font with sequential CIDs, /W widths from the font and a ToUnicode CMap, so it stays selectable. The subsetter (core/text/truetype) renumbers glyphs, rewrites composite components and drops hinting; fonts with CFF outlines or fsType restricted or no-subsetting licences are refused and reported. Checked with pypdf text extraction and a pymupdf render of an Arial subset (Latin, minus sign, Greek, Cyrillic). Nothing is bundled. Still open: XPS, PDF/A, blur, reflections, pattern fills.
  • Compressed streams, 2026-10-30. Every stream the writer makes is Flate (/FlateDecode): the font file (/Length1 stays the uncompressed size), ToUnicode, page content and raw pictures. Pictures that already carry a filter (Flate or JPEG) are written as they are. The deflate is zlibCompress in ooxml-core/opc (the fflate the core already ships).
  • The File backstage speaks the display language, 2026-10-30. The pages, tiles, the PDF options panel, the export report and the backstage's status messages go through the same dictionaries as the ribbon (locales/*-backstage.ts). Still English: the nav's shadow-rendered Lit elements (Account, presence, print preview controls) and the per-page degradation notes the core writes.

Lane edits on Visio-built charts, 2026-10-30 ​

  • Visio-built charts take lane edits. The frame, Swimlane List, Phase List, lanes and separators are recognised by their masters (CFF Container, Swimlane List, Phase List, Swimlane, Separator). Insert Swimlane copies the neighbouring lane (new IDs and GUIDs, same master), Delete Swimlane removes it and its connects, Resize restacks. cff-recalc.ts recomputes the cached values of master instances from the master's formulas with the editor's interpreter; on the native fixture it reproduces every cache Visio wrote (zero differences), and it keeps the cache of any cell it cannot evaluate (theme, colours, text measures). The title area Visio's frame keeps above the lanes is preserved. Visio 16 opened the edited file and reported the container, both lists and the new lane in the Swimlane List order.
  • Vertical starter. File > New offers Cross-Functional Flowchart (Vertical).
  • Load. Shapes whose centre lies in a lane join that lane's members in the model; list order is untouched. Saved parts are unchanged.
  • Still open. Charts the editor creates are not instances of Visio's hidden masters; phases, options and Direction of a Visio-built chart are refused; the master heading arcs (_ELLIPSE_*) and page-level DEPENDSON formulas are not evaluated, so their caches stay. Setting a lane height through COM on the fixture hangs Visio's CFF add-in, so no live recalc oracle beyond the saved caches was used.

Native cross-functional flowcharts, 2026-10-30 ​

  • Visio's structure. create-swimlanes now writes what Visio 16 builds from its own Cross-Functional template (read through COM): a CFF Container frame that holds a Phase List and a Swimlane List (msvStructureType List, msvSDListDirection, categories), the lanes as list members and the separators as Phase List members, all linked by Relationships formulas. Visio's ContainerProperties and GetListMembers report the container, both lists, the lane order and the separators for our files. The lists, lanes and frame are plain shapes with the rows as direct cells: Visio's hidden CFF masters (and so its add-in, which inserts lanes and handles drops) are not written, and a Visio-built chart's master-group lanes are read and planned on but refused by the lane edits.
  • Relationship numbers corrected. The container-to-members kind is 1 and member-to-container is 4 (list members 2 and 5, sibling lists 11); the editor had them reversed. Files saved earlier are still read.
  • Direction, phase labels, page growth, one undo step. Direction > Horizontal or Vertical turns a chart (lanes keep their size, shapes are carried to the mirrored place, bars turn); separators carry a phase name and the Phase List keeps their order; the page grows (right and top) with the frame in the same batch; deleting a lane with stencil shapes is one batch. Plain-container flowcharts are brought over to lists on their first edit.
  • Observed. On load Visio adds the shapes under a list to that list's members; harmless to list order but not what Visio itself saves.

Org chart types, connection point glue and Belt resize, 2026-10-31 ​

  • Type change. Org Chart > Subordinate on a Position Belt that has no subordinates now replaces it with an instance of the Manager Belt master (ui/org-chart-belt.ts): the new instance is dropped on the old one's spot, takes its text and the five org Shape Data rows, every connector glued to the old shape is glued to the new one (keeping its connection point), the tree is laid out with the new id, and the old shape is deleted last, all in the one undo step. The shape id of the position changes. A coworker is always a Position Belt (an assistant's coworker an Assistant Belt) and an assistant never promotes its manager.
  • Not verified. Whether Visio also turns a Manager Belt back into a Position Belt when its last subordinate goes: its org chart add-in (ORGCHART.DLL) does not run under COM, so the rule cannot be observed from a file check. Nothing reverts here. Read through COM instead: an Executive Belt dropped from ORGCH_M.VSTX and glued to a Position Belt through Shape.CellsSRC(7, row, 0) keeps both names and records the glue as FromCell BeginX ToCell Connections.Bottom.X and FromCell EndX ToCell Connections.Top.X (ShapeRouteStyle 3).
  • Glue. Reporting lines now glue to the Bottom (Connection row 3) of the manager and the Top (row 0) of the subordinate, written as PAR(PNT(Sheet.N!Connections.X4,...)) with ToCell Connections.X4 / Connections.X1, where Visio names the rows (Connections.Bottom.X). The Belt masters name their Connection rows (Top, Left, Right, Bottom, Float) and give them no IX; the engine now numbers such rows by position (edit-stencil-connector.ts), which glue to those rows needs. A moved position keeps its line on the same points (the existing follow-and-reroute, covered by a test). An assistant's line still glues to the whole shape, since it enters the assistant's side.
  • Resize. A Belt master instance can be resized. Instance recalculation keeps the saved value of a cell that measures the shape's own text (TEXTHEIGHT(TheText,TxtWidth)) and the text size pass that follows the edit measures it, as for other text-sized shapes; a data cell worked out from such a value keeps its cache. Three unit rules were needed: LineWeight and the Img* cells are lengths, and an untagged User cell whose formula starts with a length literal (5MM*DropOnPageScale) is a length. Read through COM: the resized Position Belt (2 x 1.2 in) matches a Position Belt Visio 16 resized the same way on 76 of 80 cells (the other three are the position and the text height, which Visio measured for an empty shape); the fourth, the photo frame's PinY, differs by 0.0035 in, because the style-inherited line weight is read from the saved cache. The font of a position is the theme's, which the editor does not measure, so the text height keeps its saved value (diagnostic edit-text-size-kept).

Org chart masters, import and data text, 2026-10-30 ​

  • Masters. A position is an instance of Visio's Executive Belt, Manager Belt, Position Belt or Assistant Belt master and a reporting line an instance of the Organization Chart stencil's Dynamic connector. The five masters (with their styles and the photo placeholder) are copied from ORGCH_M.VSTX into ui/org-chart-stencil-data.ts (scripts/gen-visio-org-stencil.mjs) and added to the drawing's masters on the first drop, keeping each UniqueID and BaseID, so the document stencil lists them as Visio's does. Read through COM: Visio 16 opened the template, a chart with an assistant and a subordinate added, one with a position deleted and a twelve person import, listed all masters with Visio's UniqueIDs, read Name, Title and ShapeType on every position (0, 1, 2, 5), the text on each and both ends of every connector glued (Connects.Count 2). A master that owns a picture is copied with it (one shared visio/media/image1.jpeg). The one change to the masters: DisplayMode 2 on the root group, the value Visio's Normal style gives it, so the text of a position draws in front of its photo and belt in a drawing whose Normal style is ours.
  • Assistants. Beside the manager's line in a band of their own between the manager's row and its subordinates' (the rows below make room); the line drops from the manager and enters the assistant's side. The layout is now a tidy tree (each manager over its subordinates, one row per level, siblings keep their order).
  • Import. Org Chart > Import Org Chart (also on the Data tab) reads a CSV or Excel sheet through the Data tab's reader: Name, Title and Reports To columns (the manager's name, or ID when there is an ID column), optional Department, Telephone, E-Mail and Type (Assistant). Tops are Executive Belts, people with subordinates Manager Belts, the rest Position Belts; the chart goes to the right of what the page holds, the page grows when nothing is glued on it, one undo step.
  • Text and data. The text of a position is its Name, then its Title; the Define Shape Data dialog rewrites it when either row changes.
  • Delete. The Delete key on a lone position is Delete Position: one batch, one undo step (new connectors dropped and glued first, the old connectors and the position deleted last).
  • Engine changes this needed. Group instances register as glue targets; the Org Chart connector (no TextPosition control, route style 3) is a Dynamic connector the editor lays out, joining the bottom of the manager to the top of the subordinate; a group master's photo no longer blocks moving the group; masters with pictures are imported; page edits in a drop batch run first.
  • Not done. Resizing a position (the master's text-height formula is not evaluated), the type change when a position gains subordinates, directory import, the wizard's options; Visio's own re-routing is not run: its connectors glue to Top and Bottom connection points where ours glue to the whole shape, so Visio re-routes them when a position moves.

Org chart and template thumbnails, 2026-10-30 ​

  • Position data. Organization Chart positions carry Visio's org chart Shape Data rows (Department, Telephone, Name, Title, Email labelled E-Mail), the row names and order of the Executive, Manager, Position and Assistant Belt masters read through COM from ORGCH_M.VSTX. Visio 16 opened a generated chart with a subordinate added and read all 5 rows on every position and both ends of every connector glued to the right positions (read only).
  • Org Chart tab. Contextual, beside the format tab while a position is selected: Subordinate, Coworker and Assistant (a glued connector, the Shape Data rows and a tree re-layout in one undo step), Delete Position (its connectors go, its subordinates join its manager) and Layout (the geometry area's hierarchy layout). Positions were plain rectangles then; the section above replaced them.
  • Template thumbnails. Each New tile shows its template drawn by the viewer's page renderer (the template is built, parsed and exported as a static SVG), not a stored picture.

Parity wave two, 2026-10-30 ​

The target is now current Microsoft 365 Visio. Open remainders are in docs/parity-checklist.md.

  • Cross-functional flowcharts. Six swimlane edits (create-swimlanes, insert-swimlane, delete-swimlane, resize-swimlane, insert-separator, set-swimlane-options) on one pure stacking function (swimlane-stack.ts) shared by core and the UI planner, and the contextual Cross-Functional Flowchart tab beside the format tab. Visio 16 opened the generated template and an edited file read-only through COM without repair and reported the frame and lanes as containers. Visio's own CFF template (read-only) uses hidden CFF Container, Swimlane List and Phase List masters with DEPENDSON list relationships; we write plain containers, so Visio's swimlane commands do not recognise ours. Moving a stencil container member no longer trips the page-dependency guard: a SUM(DEPENDSON(...)) Relationships formula reads no member cell.
  • Visio-saved connectors. Drawings made in Visio through COM (glue, AutoConnect, crossings, a free end) are fixtures; after moving shapes, re-gluing and dragging ends, the core's connector end positions equal Visio's own (edit-connector-visio-native.test.ts). AutoConnect's ToCell="PinY" whole-shape glue is now accepted.
  • Contextual tabs. Picture Format, Container Format (Fit to Contents, Select Contents, Disband) and Chart Design (Edit Chart, Edit Data, Format Chart) share one mechanism with Shape Format.
  • Theme schemes. Fonts, Effects and Connectors apply alone and every submenu marks the current scheme. Themed text uses the theme's minor font, as Visio 16 did for a built-in theme through COM. The built-in themes carry a font scheme ID in Visio's own extension, and each now defines one theme effect, so quick-styled shapes on a themed page can show it.
  • Vector PDF. Pages are converted from the static SVG export: paths, dashes, arrowheads, rectangle clips, pictures and standard-font text that pypdf (strict) parses and pdftotext extracts. Degraded effects and picture fallbacks are reported per page.

Parity wave, 2026-10-30 ​

Six increments landed together; the open remainder of each is in docs/parity-checklist.md.

  • Package kinds. .vsdm, .vstx and .vstm open as drawings, .vssm for its masters. An edit keeps a declared VBA project, its relationship and content type byte for byte and never runs it; a template is saved as a drawing of the same kind (TEMPLATE_SAVED_AS_DRAWING); a standard signature (_xmlsignatures/, root origin relationship) is removed with SIGNATURE_REMOVED. Removal reads parts through the bounded package reader, so the input limits apply first. A signature relationship elsewhere, or an undeclared VBA project, still refuses the edit. No native check of an edited .vsdm.
  • New templates. Blank Drawing, Basic Flowchart, Cross-Functional Flowchart and Basic Organization Chart are generated with the existing writers and built-in masters. Visio 16 opened all three through COM without a repair prompt, with the expected shape counts (9, 14, 11). Lanes are plain shapes in a container, not Visio's swimlane master.
  • Theme colours. Design > Variants > More > Colors writes ColorSchemeIndex (and the variant and colour caches) and leaves the effect, connector and font selections. Visio 16 opens a Harbor drawing given Ember colours and keeps 1004/1002/1002/1002; whether Visio then paints Ember on quick-styled shapes was not observed (the sample uses explicit fills).
  • Shape Format tab. Contextual, shown while shapes are selected, with Shape Styles, WordArt Styles (disabled with a reason), Arrange and Size. Its controls are the Home builders reused, their state mirrored from Home (viewer-contextual-tabs.ts). Browser specs that address a command once now scope to the non-contextual tabs.
  • Page tab drag. Pointer drag with a threshold, an insertion marker and Escape, through the existing reorder-page edit (one undo step); background pages only move among themselves. The drag is shared with Excel's sheet tabs (src/ui/src/chrome/tab-drag.ts).
  • InfiniteLine. Drawn as an open stroke clipped to the page through every ancestor transform. Stencil previews use the master's own page bounds, or a local shape box when page dimensions are missing. A synthetic Visio 16 fixture covers diagonal, horizontal and vertical lines; core tests also cover transformed groups and independent master bounds, and all six browser bindings check the drawn previews (stencil-infinite-line.spec.ts).

Proportional resizing, 2026-10-30 ​

Dragging a corner handle now keeps the shape's proportions, and Shift keeps them on every handle, as Microsoft's resize guide describes for Visio. The axis that changed more sets the scale; a Shift side drag grows the other axis about its centre (anchor 0.5). The same rule applies to the surrounding rectangle of a multiple selection and to flat local groups. The ratio survives the 1/16 inch minimum. Side handles without Shift still change one dimension. The rule lives in core (visioResizeKeepsProportions, visioProportionalSize in src/core/visio/ui/shape-resize.ts), so every binding gets it from the shared viewer element.

Not established: a native comparison of the gesture itself (COM cannot drive a handle drag, and keystrokes into a visible Visio are not allowed here), Ctrl and Alt during a resize, and resize alignment or size-match hints.

Verification: the Visio core UI tests (270) and the Visio UI tests (1,329) pass, and the resize, selection-resize, group-resize, stencil and mobile browser specs pass in all six demos (26 tests).

Flat local group resizing, 2026-10-28 ​

A selected flat local group now has eight resize handles. Its ordinary, axis-aligned members can scale with the group or keep their size while their positions scale, following constant local ResizeMode values (0 inherits, 1 repositions, 2 scales). The parent may be rotated or reflected; off-center local pins, reflected members and drawing scales are preserved. A gesture previews a frame without changing source, then commits one undoable transaction.

The writer reuses the existing anchored-resize geometry and formula evaluator. Literal member transforms acquire proportional parent formulas. Authored and guarded formulas are retained only when evaluation proves the requested final pose. The same proof checks size, position and aspect locks and affected caches. Package and style dependency checks include child writes even before scaling formulas exist, including a group created earlier in the same transaction.

This subset excludes nested groups, rotated members, stencil members, glue, layer membership, unsupported formulas and nondefault page-level ResizeMode. Unanchored group resizing, group flips and groups in a multi-selection resize remain unsupported. General Visio group semantics and native desktop acceptance are still open; generated fixtures and browser workflows are not parity evidence.

Microsoft's ResizeMode reference defines the mode values used by this implementation.

Verification: 4,256 core Visio tests passed (200 optional skips), and 1,323 Visio UI tests passed (eight optional skips). Strict core, UI and viewer typechecks, core/UI builds and changed-source lint/format checks passed. Twelve browser workflows passed across vanilla, React, Vue, Angular, Svelte and Solid, covering group and multi-selection resizing, cancellation, history, save/reopen and ungrouping. The group test selects the reopened group through its keyboard target because the bounding-box center can be empty SVG space. No native Visio acceptance, packaged-consumer rerun or verify script was run for this increment.

Multi-selection resize, 2026-10-28 ​

Two or more selected ordinary, axis-aligned local shapes now share eight resize handles. Dragging scales their sizes and spacing together while fixing the opposite selection edge or corner. Reflections, off-center local pins and drawing scales are supported. Crossing an opposite handle clamps the common scale to preserve each member's minimum size, without introducing a flip. A drag makes one source transaction and one undo step; selection persists through undo and redo.

Saved content stays unchanged during the frame preview. Cancelled or stale gestures discard the preview. A protected member rejects the entire batch, and the core checks every promised final pose before history accepts the result: cross-shape formulas must not silently change an earlier member after its command.

The plan and geometry validation live in core. The shared UI paints the frame and commits the batch for all six bindings. This reuses PowerPoint's existing shared resize geometry with independent per-axis minimums; no algorithm was copied into a viewer or binding.

This is a bounded editing subset, not native Visio parity. Mixed selections with rotated shapes, local groups, stencil instances, layers or attached connectors do not get multi-selection handles. Single-selection behavior remains available under its existing admission rules. General group resizing, resize modifiers and snapping, and native multi-selection comparisons remain open. Microsoft Visio is not registered on the machine used for this increment, so generated round-trip and browser fixtures do not establish desktop equivalence.

Verification: 6,873 Visio/shared geometry tests passed (200 optional skips), and 1,343 Visio UI/shared interaction tests passed (eight optional skips). Core and UI typechecks/builds, the viewer's complete check, and its final typecheck including the browser specs passed. The main browser suite passed 227 tests (715 optional fixture cases skipped), including the new workflow in all six demos; all 36 framework-component browser tests also passed. The new browser test was corrected to allow pointer-coordinate rounding, compare saves against the measured preview, and wait for the edit worker before exporting source for inspection. All nine workspace tarballs passed clean-consumer installation, declarations and worker checks, and their packaged browser consumer passed across all six frameworks. That last stage ran through test:packages:workspace after regenerating the consumer fixture removed by the earlier registry-package check.

Precise shape dragging and shared geometry, 2026-10-28 ​

Moving shapes now supports Alt to bypass snapping, Shift to constrain movement to one page axis, and Alt+Shift together. The modifiers are read for each preview and again on release. A constrained drag only displays hints on its moving axis and cannot be pulled off-axis by grid or shape snapping. Grid snapping follows Snap & Glue independently of View > Grid visibility. This supersedes the hidden-grid limitation in the 2026-10-10 entry below.

The existing source-backed batch handles one or multiple selected shapes, history, selection retention and protection failures. This increment changes shape-body movement; connector endpoint, resize and rotation modifiers retain their previous behavior. Dynamic Grid size matching, complete snap target coverage and native interaction equivalence remain open.

PowerPoint's aspect-ratio constraint helper and its tests now live in shared core geometry, with compatible UI re-exports. No new Visio resize capability is claimed by that extraction. See docs/visio-parity-review.md in the repository root for the current editing priorities and reuse inventory.

Verification: 4,209 Visio/core geometry tests passed (200 optional skips), and 1,359 shared Visio UI/PowerPoint interaction tests passed (eight optional skips). The final coordinate-validation and modifier regressions also passed after the last code changes. Strict core and both UI typechecks, core/UI builds, changed-file lint/format checks and the complete viewer check command passed. The main browser suite passed 221 tests (715 optional cases skipped), including the updated workflow in all six demos. The 36 native-component browser tests passed in a final serial run; earlier concurrent runs had intermittent loading, history and theme failures. These browser components are framework-native controls, not Microsoft Visio itself. The nine workspace tarballs passed clean-consumer installation, declarations and worker checks; their packaged browser consumer mounted all six frameworks and verified selection, duplication, clipboard transactions and saved worker edits. No new Microsoft Visio desktop oracle was run for this increment.

Connector jump formatting and print preservation, 2026-10-12 ​

Page Setup now includes Layout and Routing controls for jump placement, style, and horizontal/vertical direction. Changes save as one undoable transaction. Saved connector style and direction overrides follow master inheritance and override the page settings in canvas and SVG output. Print snapshots now retain the route, glue and page layout information required to keep those jumps.

The native page style enum is corrected: 0 and 1 are Arc, 2 is Gap, 3 is Square, and 4 through 9 are two through seven sides. Earlier code interpreted these as a zero-based style list and refused 9. The mappings follow Microsoft's LineJumpStyle reference.

Core tests cover cached/inherited overrides, page direction save/reopen, native style values and direction under reflected/reversed geometry. UI tests cover the dialog, undo/redo and print snapshots, including glued connectors without explicit route metadata. A real Chromium test covers the new tab, native Gap value, saved directions, history and matching print geometry.

Connector jump policy, style and directions are now editable in Format Shape. The policy renderer matches 125 measured Visio 16 SVG cases, including conflicts between connector overrides. Native Visio reopened all four edited settings.

Jump widths now use saved horizontal/vertical factors, routing spacing and drawing scale, matching 68 native Visio 16 measurements. Page Setup also exposes size percentages. Another 160 native observations establish predominant-axis sizing/policy for slanted straight lines and confirm that curved connectors omit jumps. Exact 45-degree ties and routing chronology remain limited.

Saved native straight connectors cache jumps in Geometry rows. Supported plain rows now refresh on save as well as display; native reopen/SVG acceptance covers disabled jumps, gaps, larger arcs and reversed direction. The y-up ArcTo sweep mapping is corrected. Unknown row metadata and geometry formula references keep their cache with a diagnostic, and unchanged jump settings do not rewrite it. See scripts/visio-line-jump-acceptance.ps1 and the evidence under src/core/visio/__fixtures__/native-line-jumps.md.

These changes do not establish native Visio visual parity. The entry below records the earlier 2026-10-10 state; its missing direction/style controls are superseded here.

Line jumps, Ruler & Grid, Snap & Glue and a horizontal legend, 2026-10-10 ​

Four commands that were shown disabled now work, each as one undoable edit of the drawing:

  • Design > Connectors > Show Line Jumps. Connectors that cross are drawn with a jump, by the page's LineJumpCode (none, horizontal lines, vertical lines, last or first displayed) and LineJumpStyle (arc, gap, square, two to seven sides), on screen and in SVG export. The toggle writes LineJumpCode 1 or 0. A page without the cells jumps on horizontal lines with arcs, as recorded from Visio 16.
  • View > Show > Ruler & Grid (the group's launcher). Ruler subdivisions and zero point, and the grid's spacing (Fine, Normal, Coarse, Fixed), minimum spacing and origin, per axis, saved as PageSheet cells. The canvas grid, Snap to Grid and the rulers follow them.
  • View > Visual Aids > Snap & Glue (the group's launcher). Whether snapping and gluing are active and the Snap to and Glue to lists, saved as the drawing's DocumentSettings.
  • Data > Insert Legend > Horizontal.

A drawing written with these edits was opened in Visio 16, which read every cell and setting back with the saved values and saved the file again.

Not matched, or approximate:

  • Only routable or glued connectors with straight segments jump or are jumped; curved connectors and lines drawn with the Line tool do not. The jump width is an estimate (Visio's base size is not documented), and "last routed line" is treated as last displayed. The per-connector jump cells (ConLineJumpCode, ConLineJumpStyle, ConLineJumpDirX/Y) are not read, and the Layout & Routing dialog still has no line jump page.
  • The variable grid's steps at 100% (1/4, 1/2 and 1 inch for Fine, Normal and Coarse) are read off Visio's window. Normal and Coarse rulers show a half and a quarter of the subdivisions, which is a rule of this editor.
  • Snap & Glue acts on Snap (grid and guides), Glue and Glue to connection points. The other choices are saved for Visio only, and the dialog says so. The bit meanings follow Visio's VisSnapSettings and VisGlueSettings enumerations and were not checked against Visio's dialog box by box. Snap to Grid still needs View > Grid on, where Visio snaps to a hidden grid too. View

    Dynamic Grid stays a per-viewer toggle and does not write DynamicGridEnabled; the Advanced tab (snap strength, extensions, angles) is not built.

Still disabled, with one plain sentence each:

  • Not built yet: Review > Check Accessibility (how Visio stores a shape's alt text was not recorded, so there is no honest Alt Text edit to pair it with), the Text dialog's Tabs tab, Data Graphics Position, Configure and Auto Space, Data Graphic Fields, Advanced Data Graphics and Link Data.
  • No bundled data or codec: Review > Thesaurus, Insert > Object and CAD Drawing, Import Rules From.
  • Not possible in a browser editor: SharePoint Workflow, New Window, Arrange All, Cascade, Switch Windows, Macros, Add-Ons and Ink.

Stencil groups and their parts, 2026-10-10 ​

Stencil shapes that are groups (Visio's Can, Cube and Pyramid, most network and people shapes) are edited like single stencil shapes. What is saved was recorded from Visio 16 (scripts/record-visio-group-instance.ps1) and matches it cell for cell for Can, Cube and the nested Pyramid; files saved here reopen in Visio with every part still bound to its master.

  • Resize handles, Size & Position, dragging, nudging, Rotate and Flip work on a stencil group; its parts follow through the master's formulas.
  • Fill, line and text formatting of a group reaches every part, as Visio's ribbon does. A part whose master computes its own colour (the shaded faces of the Cube) keeps it.
  • A second click inside a selected group sub-selects one part: it takes fill, line and text formatting and its own text. Its size and place stay with the group.
  • A master with several top-level shapes drops from the Document Stencil as one group, as in Visio.

Still refused, each with a plain sentence:

  • Resizing a group one of whose parts keeps a size of its own (Visio scales such a part; that scaling is not reproduced). It still moves and rotates.
  • A group that holds a picture, or a shape added to it on the page.
  • Moving or resizing one part on its own; filling a part whose master protects its fill.
  • A master whose top-level shapes are turned or flipped is not dropped.
  • Text formatting only reaches the parts that already hold text; Visio also stores the style on parts without text.
  • Groups drawn on the page (not from a stencil) still move but do not resize.

Shapes that size themselves from their text, 2026-10-10 ​

A shape whose size follows its text now follows it here too: a text box whose height is TEXTHEIGHT(TheText, Width), a label as wide as TEXTWIDTH(TheText), and the flowchart shapes' Resize with Text. After a text edit, a font, size or weight change, a text block change or a resize, the size and everything that follows from it (pin, text block, geometry, connection points, the menu cells that show or hide Resize with Text) is computed again, and connectors glued to the shape are laid out again. On a stencil shape the new values are saved as caches of the master's formulas, which stay in effect.

Recorded from Visio 16: TEXTWIDTH is the widest line from the font's own advance widths, without hinting or kerning, plus the advance of one space and the left and right margins. TEXTHEIGHT is 120% of the font size per line (or the paragraph's own line spacing) plus the top and bottom margins, wrapped at the given width less the side margins.

Measured against 192 recorded strings (Calibri, Arial and Segoe UI, regular and bold, 8 to 24 pt, with and without margins): every width is within 0.011 pt of Visio's. Of 960 wrapped heights, 948 are equal and 12 are left undecided. For a flowchart Process shape that Visio grew for a long label, shrinking it and typing the label again writes the same cached values Visio wrote, cell for cell. Four drawings saved here (11 pt, regular and bold) reopened in Visio with the height Visio itself computes.

Kept at the saved size, with a note in the edit's diagnostics, instead of writing a doubtful size:

  • A font the measurements do not cover. Built in: Calibri, Calibri Light, Arial, Segoe UI and Times New Roman, regular and bold, printable ASCII. In the browser other installed fonts, italics and other characters are measured with the browser's fonts at a 1% tolerance; a font that is not installed is never measured. That browser path is not compared with Visio.
  • A font that is not known for sure: a missing font cell, or one taken from a theme's font scheme. A themed font where no font theme is selected resolves to the No Style root font, as in Visio.
  • A line that fits or overflows by less than the tolerance (0.05% with the built-in tables).
  • Bulleted paragraphs, tab characters, right-to-left paragraphs, superscript, subscript and small caps.
  • A size formula that needs more than arithmetic around the two text functions, another shape whose formulas read the resized shape, and a glued connector that cannot be laid out again.

Not done: paragraph spacing and indents are applied as modelled but were not recorded from Visio. While typing, only the editing frame grows (around the shape's middle, or away from the edge the text is aligned to); the shape takes its new size when the text is saved.

Visio's Dynamic connector, 2026-10-10 ​

Visio's own connector is a stencil shape (a master instance). Until now every edit of it, or of a shape glued to it, was refused. It is now laid out again the way Visio saves it, recorded from Visio 16 with scripts/record-visio-instance-connector.ps1 and compared cell for cell:

  • A shape glued to a Dynamic connector can be moved, resized and rotated, whether it is drawn or from a stencil; the connector follows. For the recorded cases (a level run, one bend, a plumb run, a resized and a rotated shape, an end on a connection point) the saved connector equals Visio's.
  • The connector takes Design > Connectors (right-angle, straight, curved), can be moved, and shows its two end handles: dragging an end away unglues it as Visio does, and dropping it on a shape or a connection point glues it.
  • The Connector tool and AutoConnect glue to stencil shapes, and stencil shapes made of one shape are obstacles a right-angle connector routes around.
  • The Dynamic connector in the Document Stencil can be dropped on the page: a connector with two free ends, saved as Visio saves a dropped one.
  • The side each end takes follows Visio for the recorded positions: straight across between facing sides (with one jog close to the first shape when they are not level), sideways and then up or down when the shapes overlap or nearly meet in height, otherwise up or down and then in from the side.
  • Drawn shapes in a drawing that has an end glued to a stencil shape's connection point, or a connector with a free end, can be edited again; the checks that guard saved values no longer stop at those two formulas.

Files written this way were reopened in Visio 16: every connector kept its master, its glue and its path.

Still different or refused:

  • When the simple path is blocked, the shared router finds the detour. Visio may end on another side of the shape (in the recorded detour it ends on the top of the second shape, this editor on its left).
  • An end on a connection point is approached like a free point; Visio takes the side the point sits on into account.
  • Axis-aligned Dynamic connectors use native facing-side endpoints and five-control, two-span corner curves. Seventeen native captures cover endpoints, and ten edited drawings reopen in Visio. The six corner cases also match control points and knots; text placement agrees within 0.0002 inches. A browser regression covers the two-span drag preview, save and undo/redo. Rotated/fixed endpoints and other routes retain the general single-cubic approximation; short unsupported curves can become straight runs.
  • A stencil connector whose master is not built like the Dynamic connector, a connector inside a group, and routing styles other than right-angle, straight and curved (tree, organization chart, flowchart directions) are refused with a sentence that says so.
  • A placeable shape (ObjType 1: a stencil shape, or any shape a connector is glued to) moved, resized or turned onto a right-angle connector's saved path now routes that connector around it, in the same edit and the same undo step, for drawn connectors and Visio's Dynamic connector instances alike (2026-10-15). Connectors that cannot be laid out again (a protected end, a dependent formula) stay as they were. The drag preview still redraws only the connectors glued to the shapes being dragged, so the detour appears on drop. A connector is not straightened again when the shape that forced a detour moves away. Line jumps at crossings are in the first section above.
  • The dropped connector is not put on the Connector layer Visio adds.
  • Duplicating or copying a stencil connector is still refused.

Whole-shape commands on stencil shapes, 2026-10-10 ​

A shape dropped from a stencil (a master instance) now takes the commands that act on the shape as a whole, and stays an instance of its master through each. What is saved was recorded from Visio 16 (scripts/record-visio-instance-shape.ps1 in the core); delete, duplicate, bring to front, layer assignment and master replacement are compared with those recordings cell for cell, and every file written in the checks reopened in Visio 16 with the expected masters, sizes and glue.

  • Delete removes the shape and leaves its master in the Document Stencil. A connector from a stencil (Visio's Dynamic connector) that was glued to it keeps its end where it was and loses the glue, as in Visio. Deleting such a connector works too.
  • Duplicate (Ctrl+D), Copy, Cut and Paste copy the shape as an instance of the same master. A connector glued to the original stays with the original.
  • Bring to Front, Send to Back and the one-step forms work on a stencil shape, and on a drawn shape that sits among stencil shapes, groups or pictures.
  • Assign to Layer writes the membership on the stencil shape.
  • Group takes stencil shapes that have no connector glued to them. The group can be moved, rotated and ungrouped; a group Visio made is ungrouped too.
  • Change Shape on a stencil shape lists the other shapes of the Document Stencil and makes the shape an instance of the one picked. It keeps its place, its own size if it has one, its text, formatting and layers.
  • Moving, resizing or rotating a stencil shape on a locked layer is refused by the core as well as greyed out.

Before this, any drawing made in Visio refused Duplicate, Copy, ordering, Group and new text boxes outright, because every stencil master carries formulas the editor treated as unsafe (SETATREF, SHAPETEXT, a container lookup). They are now refused only for what they can disturb: a function the editor does not know, a reference built from text, or a container lookup when the shape concerned is itself a container.

Still refused, with a plain reason:

  • Lines and connectors from a stencil are not duplicated, copied or grouped.
  • Pasting a stencil shape into another drawing, or onto another page: the clipboard needs the same master and the same page settings.
  • Grouping or ungrouping shapes that have a connector glued to them, and ungrouping a rotated or flipped group that holds stencil shapes.
  • Change Shape when a connector is glued to a connection point of the shape, when a glued connector would have to follow another size, or when the shape changed its master's outline by hand. A drawn shape still changes to a Basic Shapes outline, not to a master; a stencil shape changes to a master, not to an outline.
  • Deleting a group that was made here, and duplicating a drawn shape that has a connector glued to it.

Different from Visio: Change Shape keeps the shape's sheet ID where Visio assigns a new one; a grouped stencil shape gets a plain position in the group where Visio writes formulas that scale it with the group; a released connector keeps its routing code.

Theme colour formulas, the full Format Shape pane and the Custom colour tab, 2026-10-10 ​

What every swatch of Visio 16's Fill, Line and Font Color galleries writes was recorded through UI Automation, and the pickers now do the same:

  • A Theme Colors swatch is saved as Visio's formula over the resolved colour: THEMEGUARD(THEMEVAL("AccentColor")) for a base swatch, THEMEGUARD(MSOTINT(THEMEVAL("AccentColor"),80)) for a lighter one and a negative percent for a darker one. Applying a theme, changing its variant or clearing it recalculates those colours on the page, as Visio does. Files written this way opened in Visio 16 with the formulas intact and the same colours Visio computes.
  • The grid has Visio's columns (White, Black, Light, Dark, Accent 1-6) and its row of seven variant colours, with the page theme's own Light and Dark. A drawing without a theme shows the colours Visio shows there.
  • More Colors is Office's Custom tab (the shared office-ui-color-custom): a hue and saturation square, a luminance slider, Hex, Red/Green/Blue and Hue/Sat/Lum fields.
  • The Format Shape task pane has Fill (none or solid, colour, transparency, pattern and pattern background), Line (colour, transparency, width, dash, cap, rounding, begin and end arrow type and size) and Effects (shadow, glow, soft edges, reflection). Line ends, cap and rounding are new format-shape properties, saved as Visio saves them. The Fill & Line and Format Shape dialogs are gone: the menus' More Options and Options commands and the shape menu's Format Shape open the pane at the matching section.

Still different from Visio:

  • Gradient fill is listed in the pane but disabled: gradients are drawn, but there is no edit for stops, angle or type. Compound lines, join type, bevel and 3-D rotation are not offered either.
  • Arrow types are numbered (Arrow 1 to Arrow 45) with no preview, and fill patterns are numbered with no swatch.
  • Visio also rewrites FillBkgnd with a SHADE formula when a fill colour is picked; this editor leaves the background as it was.
  • The Standard Colors row is Office's, not Visio's slightly different ten.
  • Recent colours last for the session of one viewer; they are not saved with the drawing.
  • Format Painter still does not copy arrowheads or rounding.
  • Excel (ribbon and Format Cells) and Word now use the same shared colour grid. PowerPoint does not yet: each of its five framework bindings has its own swatch-grid component.

Evidence: src/core/visio/theme-color-ref.test.ts (recorded formulas and colours, theme changes), edit-formatting-line-ends.test.ts, src/ui/src/form/color-custom.test.ts, color-grid.test.ts, viewer-color-menus.test.ts, viewer-format-pane.test.ts, and the browser workflows color-picker.spec.ts, paint-properties.spec.ts and themes-effects.spec.ts.

Masters in the package, 2026-10-10 ​

A shape dragged from a built-in stencil is now what it is in Visio: an instance of a master that the drawing carries in its own Document Stencil.

  • The first drop of a built-in master (Basic Shapes, Basic Flowchart Shapes, Miscellaneous Flowchart Shapes, Arrow Shapes) copies the master into the drawing (masters.xml, a master part, relationships and content types, created when the drawing has none); later drops reuse it. A drawing that already has a master of that name, such as Visio's own Process, gets an instance of its own master instead of a second one.
  • Shapes window drops and activation, Quick Shapes, AutoConnect and the sample drawing all add instances. Change Shape on a stencil shape swaps its master and, as recorded from Visio, keeps position, size, text, formatting and whole-shape glue and renames the shape after the new master.
  • A dropped instance is named as Visio names it (Process, then Process.7), joins the master's layers (the Flowchart layer is added to the page for the flowchart masters) and grows an Auto Size page.
  • Connectors glue to a dropped instance and follow it when it moves or is resized. A dropped one-shape instance keeps its master's size beside its pin as inherited caches, the form Visio saves for inherited cells; an instance with only its pin, as a fresh Visio drop has, is read through its master.
  • Quick Shapes lists the drawing's own masters first. A stencil file the drawing docks that has no built-in stand-in is listed by its file name as unavailable. The stencil a drawing docks is the one showing; its Document Stencil is listed folded.

Checked against Visio 16 through COM, hidden: the sample and drawings with dropped, resized, restyled, connected and changed instances open without repair with every instance bound to its master, the masters listed in the Document Stencil, names, layers and sizes as written; a file Visio saved again is edited further here and the next drop reuses the master Visio kept. Visio rewrites the tail of a master's UniqueID, so ours are written in that form.

Limits:

  • The masters are this editor's outlines in the drawing's default styles: no icon (Visio draws one), connection points, Shape Data or control handles. The theme look of a drop is saved on the instance, not in the master.
  • Change Shape keeps the shape's ID (Visio gives the changed shape a new one). It offers the built-in shapes and the other one-shape masters of the Document Stencil, through one core edit. It is refused while a connector is glued to one of the shape's connection points, and for groups. A shape with connectors glued to it keeps the size it shows.
  • A connector cannot be glued to a group instance; the refusal says so.
  • The sample's boxes and shapes added from the Shapes window are instances. They are deleted, duplicated, copied, ordered, grouped, resized, formatted and connected like drawn shapes (sample-drawing-edits.test.ts); the limits of those commands on stencil shapes are in the sections below.
  • Layers are not assigned to the sub-shapes of a group master, and a locked page layer leaves the drop on the master's inherited membership.

Inline Quick Styles, Themes and Variants, 2026-10-10 ​

Home > Shape Styles > Quick Styles, Design > Themes and Design > Variants are rows of tiles in the ribbon with a More button that opens the whole gallery, as in Visio. They are the shared office-ui-gallery in its inline mode. A tile in the row applies at once; the row of Themes starts at the page's theme when that lies beyond the first tiles, and a page without a theme shows four empty, disabled Variants tiles.

The ribbon does not fold its groups, so the viewer's width sets the number of tiles: seven, six and four at 1860 px and wider, down to two each, and the labelled drop-down buttons again at 760 px and narrower. Not matched: Visio's row scrolls with up and down arrows above the More button, and its Quick Styles row shows the theme's Variant Styles; this row is the first Theme Styles row.

Collapsing ribbon groups and the External Data window, 2026-10-10 ​

A window too narrow for the ribbon no longer scrolls it sideways under a scrollbar. Groups collapse into one button each, from the right (on Home: Editing first, Clipboard last), and the button opens the group's commands in a popup; Escape, a click elsewhere or a chosen command closes it. Host add-in tabs collapse the same way. Below 761 px the phone layout (the Tools disclosure) is used instead and nothing collapses. The External Data window is now the shared task pane (title and close button), with the recordset picker and link commands in a bar above the grid.

Still different from Visio:

  • Visio first shrinks large commands to small ones and galleries to fewer columns before it collapses a whole group; here a group is either full or one button.
  • The Home tab is wider than Visio's (about 1620 px against about 1180 px), so Editing already collapses on a 1600 px window where Visio still shows it.
  • Key tips do not reach commands inside a collapsed group.
  • The External Data window is docked under the drawing and cannot be floated, resized or docked elsewhere.

Office colour picker and Format Shape task pane, 2026-10-10 ​

Home > Fill, Line and Font Color open Office's colour picker (the shared office-ui-color-grid) instead of a short fixed list: Theme Colors (ten columns, each a base colour over five lighter and darker variants, by Office's luminance rule), Standard Colors, No Fill or No Line, Recent Colors and More Colors. More Colors is a dialog with a hex field and Red, Green and Blue; a custom colour is then listed under Recent Colors in every picker for the session. The current colour of the selection is marked.

The Shape Styles launcher opens a Format Shape task pane instead of a dialog: Fill (No fill or Solid fill, colour, transparency) and Line (No line or Solid line, colour, transparency, width, dash type). It follows the selection and each change is applied at once as one undoable format-shape edit per selected shape.

Limits, stated plainly:

  • Superseded by the section at the top: theme swatches are now saved as theme formulas, the grid has Visio's columns, More Colors has the Custom tab, and the pane has patterns, line ends, cap, rounding and effects.
  • Recent Colors are not saved with the drawing or between sessions, and there is no Automatic font colour.
  • Not compared with Visio pixel for pixel; the pane's layout was not measured against Visio's.

Evidence: src/core/color/theme-palette.test.ts (variant rule and colours against Office's swatches), src/ui/src/form/color-grid.test.ts, viewer-color-menus.test.ts, viewer-format-pane.test.ts, and the browser workflow e2e/visio/color-picker.spec.ts.

AutoConnect, 2026-10-10 ​

View > Visual Aids > AutoConnect works and is on by default, as in Visio. With the Pointer tool, resting the mouse or pen on a top-level two-dimensional shape shows an arrow outside each side. Resting on an arrow opens a mini toolbar with the first four Quick Shapes of the current stencil (the stencil opened last in the Shapes window, else Basic Shapes). Choosing one adds it in that direction and glues a right-angle connector from the source to it; the shape, its theme style and the connector are one undo step. Clicking the arrow itself connects to the neighbouring shape it points at, or adds the first Quick Shape when no shape is there.

Spacing was recorded from Visio 16 through Shape.AutoConnect: the gap between the two facing sides is the page's "space between shapes" (0.375 in. on a new drawing), and a place that is already taken moves on by one shape and gap (to the right for up and down). The core's right-angle router now shares the space between two close facing sides, so the connector across the gap is one segment.

Different from Visio:

  • The gap is always 0.375 in.; the page's own AvenueSizeX/Y is not read.
  • A neighbour is the nearest connectable shape within 2 in. of that side that overlaps the source across the direction. Visio's rule is not documented and was not measured.
  • Arrows show without Visio's short hover delay, and there is no live preview of the shape before it is added.
  • Stencil instances (master-linked shapes), groups and connectors have no arrows, because the core cannot glue to them yet.
  • Arrows are a mouse and pen aid. Touch and the keyboard do not show them; the Connector tool covers both.
  • After adding, the new shape and its connector are both selected; Visio selects only the new shape.

Evidence: src/core/visio/ui/auto-connect.test.ts, src/ui/src/visio/viewer-auto-connect.test.ts and e2e/visio/auto-connect.spec.ts on all six framework demos.

Document Stencil and the drawing's own stencils, 2026-10-10 ​

The Shapes window now follows the open drawing, as Visio's does:

  • A drawing with masters lists them first as its Document Stencil, each drawn from its own master geometry (without text) and named by its Name or NameU. Dragging one onto the page, or activating it, adds a real master instance: a shape that names the master and carries only its pin, which is what Visio writes for a drop. A group master gets one sub-shape per master sub-shape. The page gains its relationship to the master part when it has none.
  • The stencils a drawing docks (the Stencil windows of visio/windows.xml) open with it: Basic Shapes, Basic Flowchart Shapes and Arrow Shapes stand in for Visio's BASIC, BASFLO and ARROWS stencil files. The first stencil the drawing docks is the one showing (its Document Stencil when it docks none of them); the others start folded. The sample flowchart docks Basic Flowchart Shapes.
  • Basic Flowchart Shapes has Visio's fourteen masters, names, order and drop sizes (Process, Decision, Subprocess, Start/End, Document, Data, Database, External Data, Custom 1 to 4, On-page reference, Off-page reference). The other flowchart outlines moved to Miscellaneous Flowchart Shapes.

Checked against Visio 16 through COM, hidden: the stencil's master names and sizes; that drawings with instances dropped by this editor (a single-shape and a group master) reopen with every instance bound to its master; and that the sample reopens with BASFLO_U.vssx docked.

Limits:

  • Single-root connector masters, including grouped connectors, can be dropped from the Document Stencil or an opened stencil. Visio 16 captures for straight, angled, curved, elbow and grouped masters are in native-connector-copy-drop.json. Picture masters and multi-root rotated masters still have drop refusals.

  • A dropped instance is not put on the master's layers and gets no name (Visio names it Process.5), and the page is not grown to hold it.

  • The built-in stencils use original ShapeSheets with resize-relative geometry, four outline connection points, a Shape Data type row and explicit protection. Square and Circle keep their aspect ratio. A docked stencil without a built-in stand-in is listed by file name as unavailable.

  • Masters in the drawing's Document Stencil can be copied into My Shapes. Edit Stencil applies to the separate stencil files described below.

  • Previews use the first 200 masters and no page theme.

Open Stencil and My Shapes, 2026-10-15 ​

More Shapes > Open Stencil... opens .vssx and .vssm stencils (and .vstx, .vstm, .vsdx and .vsdm files, read for their masters) from a file picker. Each opens as a section of the Shapes pane with the master icons drawn from the masters' shapes. Dropping or activating a master copies it, with its style sheets (reused by name, else copied), into the drawing's masters part the first time (found again by UniqueID) and saves an instance that references it, so its connection points and Shape Data come through the master. One undo step; the saved drawing reopens with the instance resolved to its master. Right-click a master > Add to My Shapes collects it into a My Shapes section for the session.

  • Opened stencils and My Shapes last for the session only (the bytes stay in memory); they are not remembered between visits.
  • Legacy .vss and .vst and damaged files are refused. VBA from a .vssm remains in a saved copy and is never executed by the viewer.
  • A master that owns pictures or other parts is refused when dropped; line and connector masters of a stencil file are listed disabled (use the Connector tool); the existing Document Stencil refusals (turned groups, pictures) apply too.
  • The Shapes pane strings follow the viewer locale (en, de, es, fr, zh-CN).

Stencil authoring ​

More Shapes > New Stencil creates an editable stencil. The stencil section's actions menu offers Edit Stencil and Save Stencil. Add Selected Shape copies a supported standalone 2D shape, or the original master when the selection is an instance. A master's context menu, also accessible via Shift+F10, offers Rename Master, Delete Master and a default plain-text edit. Add to My Shapes copies a built-in, opened or document master into a session stencil that can also be edited and downloaded.

The writer uses the published Masters and Master Contents parts with the stencil's document settings. New masters get a 32-pixel icon, and existing icons are preserved. Visio 16.0 opened the generated Rectangle stencil through Documents.OpenEx in read-only mode. COM returned one master, Width 1 in, four connection-point rows, zero internal Connects and one Shape Data row (src/core/scripts/visio-stencil-acceptance.ps1). Package round-trip tests cover adding, renaming, editing and deleting masters, keeping opaque VBA bytes, and rejecting invalid or oversized stencil inputs.

The master editor changes default plain text. Rich-text and visual ShapeSheet editing, full native master behaviours and automatic persistence of My Shapes remain open. Some curves use polylines. A copied instance contributes its original master, without instance overrides. Masters with dependencies on other masters require their original stencil.

ShapeSheet functions evaluated on edit, 2026-10-15 ​

A resize or move now recalculates cells whose formulas use ROUND (digits as decimal places, half away from zero), INT (floor), TRUNC, POW, EXP, LN, LOG10, ASIN, ACOS, ATAN, and the constants TRUE and FALSE, in addition to the arithmetic, IF, AND/OR/NOT, MIN/MAX, ABS, SQRT, trigonometry, BOUND, MODULUS, CEILING and FLOOR it handled before. Before this, any affected cell using one of them refused the edit (EDIT_UNSUPPORTED_FORMULA). Units follow the argument (a rounded length stays a length; ASIN/ACOS/ATAN return angles). Update 2026-10-30: recalculation no longer refuses what it cannot follow. A computed INDIRECT and EVALCELL are resolved while evaluating (cycle-protected), DEPENDSON names its dependencies, a function it cannot run (SETATREF, field and document-property functions, FONT, unknown functions) keeps its cached value and is reported as the FORMULA_STALE diagnostic (Visio would recompute it, so it can be out of date until it does), and cells of grouped, instanced or connected shapes are read as inputs when the edit does not reach them. Still refused: formulas that do not parse, Polyline/NURBS data, an edit that itself reaches a grouped or inherited cell, cells only a master defines, and the static admission guards for edits of a dynamic cell. The ROUND digits meaning is from the function's documentation and is not yet checked against Visio.

Right-angle connectors route around placeable shapes, 2026-10-10 ​

Right-angle connectors drawn here now avoid other shapes the way Visio's do. Recorded from Visio 16 (scripts/record-visio-connector-route.ps1):

  • Visio routes a dynamic connector around placeable shapes only (ObjType 1). A shape left at ObjType 0 stays in a connector's way, and Visio sets ObjType to 1 on both shapes when a dynamic connector is glued to them.
  • Its detour turns 3/16 inch before the shape and passes 3/16 inch over it.

Implemented to match: gluing a connector marks its targets placeable (an ObjType that is already set, or computed by a formula, is left alone); when a right-angle connector is drawn, re-glued or laid out again because a glued shape moved or was resized, the route goes around the other local placeable shapes of the page with the same 3/16 inch clearance, and the drag preview shows the same route. For the recorded scene (two shapes with a three-inch-tall placeable shape between them) the first turn and the height of the detour equal Visio's. A file saved this way opens in Visio without repair, with the route and both glue records intact.

The search is PowerPoint's orthogonal connector router, moved to ooxml-core/geometry and shared by both products.

Not Visio's router, and still different:

  • Visio picks the glued sides together with the route; here the sides are the nearest pair, chosen first. In the recorded scene Visio ends on the top of the second shape and this route ends on its left side.

  • Only a connector being laid out is routed. Dropping or moving an unrelated shape onto an existing connector does not reroute it (Visio does).

  • Master instances are not obstacles, because their size and ObjType can live in the master. At most the 24 nearest obstacles are considered.

  • No spacing between parallel connectors, no Re-Layout. (Line jumps are drawn now; see the section on them above.)

  • Visio's own Dynamic connector (a master instance) still cannot be rerouted or re-glued here. The recorded instance keeps PinX, PinY, LocPinX, LocPinY, TxtPinX, TxtPinY and the TextPosition control as inherited formulas with local caches, Width and Height as GUARD formulas whose form changes with the route (GUARD(0.25 in) for a straight run), and its Geometry as partial overrides of the master's rows. Writing that form needs the master's rows, the text position rule and more recorded cases; it is not done, and such connectors are refused with a message rather than rewritten.

  • No line jumps, no spacing between parallel connectors, no Re-Layout.

  • Visio's own Dynamic connector is now laid out again (see the section above).

Stencil shapes: move, resize, rotate and format, 2026-10-10 ​

Shapes dropped from a stencil (master instances) made of one plain shape now take the resize handles, Size & Position, Rotate and Flip, the rotation handle, dragging and nudging, and fill, line and text formatting (ribbon, Format Shape, Text dialog, Format Painter, Rotate Text). Before, only their text could change.

  • Saved as Visio saves it, recorded from Visio 16: the changed size, pin, angle or format cell becomes a local value on the shape, and every inherited cell that follows from a new size or position (pin, text block, geometry, connection points) gets a refreshed value that keeps the master's formula. For Visio's Process, Decision, Document and Data flowchart shapes the drawn cells written equal Visio's; files written this way were reopened in Visio 16, which showed the new size, position, angle and formatting with the master's formulas still in place.
  • Stencil shapes sit on their stencil's layer. That no longer blocks them; a locked layer still does. Drawn shapes assigned to a layer stay as before.
  • Drawn shapes in a drawing that also holds stencil shapes can be moved and formatted again: the checks that guard saved values no longer stop at the menu, add-on and container formulas every Visio stencil shape carries.

Not done, each refused with a message instead of a wrong result:

  • A stencil shape with a stencil connector glued to it that is not built like Visio's Dynamic connector cannot be moved, resized or rotated. The Dynamic connector itself now follows (see the section above).
  • Stencil shapes made of several shapes (groups), stencil lines and connectors, and shapes inside a group instance.
  • A master formula outside plain arithmetic on the shape's own cells, when a drawn cell depends on it.
  • A stencil shape whose master sizes it from its text follows the text only where the text can be measured (see the section on shapes that size themselves from their text); otherwise it keeps its saved size.

Ribbon tabs checked against Visio, add-in tabs, 2026-10-10 ​

The groups and commands of every tab were read from Visio 16 through UI Automation and compared with this ribbon. Changed to match:

  • Home > Paragraph has Rotate Text. As recorded from Visio, each use adds 90 degrees to TxtAngle and leaves the text block's size and pin alone; it needs a top-level two-dimensional shape.
  • Insert > Pages is New Page (it was Blank Page); Online Pictures is gone, because Visio has no such button.
  • Data has Visio's five groups: External Data, Data Graphics (with Position, Configure and Auto Space), Display Data, Show/Hide (with Data Graphic Fields) and Advanced Data Linking.
  • Process has SharePoint Workflow; Review has Accessibility and Ink; View > Show has the Ruler & Grid launcher and Visio's order of check boxes.
  • The title bar centres the drawing's name and keeps the account at the right.

Commands added only for the match are disabled and say why in their tooltip: Position, Configure, Auto Space, Data Graphic Fields, Link Data, Advanced Data Graphics, the four SharePoint Workflow commands, Check Accessibility, Ink and the Ruler & Grid launcher.

Still different from Visio:

  • Icons are the shared monochrome line icons, not Visio's coloured ones.
  • View > Views keeps Full Screen, which Visio does not have.
  • A narrow ribbon scrolls; Visio collapses groups into buttons.
  • The Shapes window opens the Basic Shapes stencil for every drawing; Visio opens the stencils saved with the drawing (Basic Flowchart Shapes for a flowchart).

A host can add its own tabs after Help (ribbonAddIns, see the API page), as an add-in does in Visio. No add-in tab ships with the viewer.

Comments, Shape Reports, Check Diagram and Subprocess, 2026-10-09 ​

Review comments are read from visio/comments.xml (the Visio 2013 and later AuthorList and CommentList, related from the document part) into the model, together with Visio 2010 Annotation section rows, which are shown read only. Review > New Comment, Comments Pane, the shape and page context menus' Add Comment and File > Info > Add Comment open the shared ooxml-ui comments pane. Visio's comments are flat, so the comments on one shape (or on the page) read as one conversation: a reply adds another comment on the same shape, Resolve sets Visio's Done flag on all of them, and Edit (own comments, by the shared profile name) and Delete change single entries. The author is the File > Account profile name (or "Anonymous"). The core creates the comments part, its relationship and the content-type override when the drawing has none; at most 10 000 comments of up to 16 384 characters are kept. Commented shapes and the page show a count marker on the canvas that opens the conversation. Not supported: Visio for the web's threaded comments, @mentions, comment positioning on the page, and native Visio reopen of core-written comments (not yet verified in Visio).

Review > Shape Reports lists the shapes of the current page or of every foreground page (page, ID, name, type, master ID, size, pin, text and visible Shape Data values; group members after their group) with Export CSV (a local download, formula-like text neutralised) and Copy (tab-separated text). Visio's report definitions (.vrd), Excel/XML output, filters and grouping are not supported.

Process > Check Diagram runs this viewer's own generic rules: connectors glued at one end only, shapes named like connectors glued at neither end, connectors glued to the same shape at both ends, shapes entirely off the page, shapes stacked exactly on another shape, and shapes with no text that draw nothing, grouped into Connectivity, Placement and Content rule sets that Rules to Check turns on and off. The Issues window lists them; choosing one selects the shape. Ignore This Issue hides the selected issue for the session only: Visio keeps ignored issues in the document's Validation element with its own rule sets, which this viewer neither evaluates (Import Rules From stays disabled) nor writes. The Flowchart, BPMN and other built-in Visio rule sets are not reproduced.

Process > Create New inserts a page after the current page and links the selected shape to it with a page hyperlink; Create from Selection moves the selected top-level shapes to a new page (same positions) and replaces them with one rectangle labelled and linked with the page name; Link to Existing links the selected shape to another page. Each is one transaction and one undo step. Create from Selection admits only shapes the shape clipboard admits (unglued, unlayered, local leaves without outside references) and refuses shapes with text fields or formulas reading the page number, count or name. Visio's subprocess shape master and its automatic page-name synchronisation are not reproduced.

Layout, layers, selection, guides and output, 2026-10-09 ​

  • Design > Re-Layout Page (gallery: Flowchart top to bottom, Flowchart left to right, Hierarchy, Compact Tree, Circular) and the Layout group launcher (style, spacing, current page or selection). The connector graph comes from the page's Connect rows (connector begin to end); the layout is a small layered (Sugiyama-style: cycle breaking, longest-path or breadth-first layers, barycenter ordering) placement, an indented tree or one circle per connected component, with unconnected shapes in a grid after them (shared geometry/graph-layout.ts). It is applied as one batch of move-shape edits (one undo step); connectors with the viewer's own dynamic glue follow through core glue recalculation. Not Visio's layout engine: no connector routing styles, no page resizing, no container or swimlane awareness; Visio-saved glue, masters, locked and protected shapes are left in place (counted in the status message) or refused by core admission.
  • Home > Arrange > Position > Auto Align & Space clusters shape centres into rows and columns, snaps each cluster to a shared centre line and spaces rows and columns evenly (at least 0.25 in). It does not follow connector flow as Visio's command does.
  • Home > Editing > Layers > Assign to Layer... writes LayerMember on top-level shapes and can add new layers to the page's Layer section in the same transaction (assign-layers). Mixed memberships stay per shape. Groups, locked layers, formula-driven membership and formulas reading LayerMember are refused. Layered shapes on unlocked layers can now be moved; formatting, resizing, duplication, grouping and ordering of layered shapes are still refused.
  • Home > Editing > Select > Select by Type... selects by shape type (shapes, groups, connectors and lines, text-only shapes, pictures and objects), by layer or by master ID (master names are not modelled; an instance name labels each).
  • Home > Paste Special...: Visio shapes (the viewer's own shape clipboard), Unformatted text (a new text box) and Picture (PNG, JPEG or GIF through the picture insertion edit). Needs the browser's clipboard read permission; Picture needs navigator.clipboard.read. No other formats.
  • View > Guides: page guides (Type="Guide" shapes) are drawn when shown; drag from the top or left ruler to add one, drag one to move it, click and Delete to remove it (create-guide, move-guide, delete-guide). Moving shapes snaps to shown guides. Guides that shapes are glued to are refused; shapes are not glued to guides; guides are not printed or exported.
  • View > Dynamic Grid snaps moving shapes to other shapes' edges and centres with alignment hints. Not Visio's spacing hints or grid-relative snapping.
  • View > Task Panes > Drawing Explorer: a dialog tree of pages, layers, shapes (with group members) and masters used; activating an item navigates or selects. It is not a dockable pane and does not list styles, fonts or foreign data.
  • File > Export > Create PDF/XPS Document: one picture page per foreground page at the drawing's page size (150 dpi JPEG, capped at 4096 px), written by the shared ooxml-ui PDF page writer. Text is not selectable and nothing is vector; XPS is not offered. Change File Type offers VSDX, SVG, PDF and PNG only.
  • Help (F1) and Show Training open the viewer guide (christophervr.github.io/ooxml/visio/) in a new tab with noopener; there is no bundled help or training content.
  • New Window, Arrange All, Cascade and Switch Windows stay disabled: the viewer shows one drawing window.

Presentation Mode, 2026-10-09 ​

Presentation Mode (F5, the View tab command and the status-bar button) shows the current foreground page fitted to the screen on a dark backdrop, read only, with background pages composed under it as in the drawing window and the viewer's layer visibility applied. Right, Down, Page Down, Space, Enter and a click go forward; Left, Up, Page Up and Backspace go back; Home and End jump to the ends; a typed page number then Enter jumps to that foreground page; Escape exits. A small page indicator with previous, next and exit buttons sits in a corner. The show renders its own copy of each page, so the drawing window's page, zoom and selection are unchanged on exit. It uses the Fullscreen API when the browser allows it and otherwise covers the viewer element itself (in the Office suite that is the editor area, not the whole window). Full Screen moved off F5 and stays on the View tab. Not supported: Visio's touch swipe gestures, hyperlink navigation and shape-data screen tips while presenting, a pen or laser pointer, and presenting on a second monitor.

Themes, variants and more shape effects, 2026-10-09 ​

Design > Themes is a shared office-ui-gallery with No Theme and six built-in themes defined as data in core (theme-builtins.ts): Office, whose accents are the Office fallback colours Quick Styles already used, and five themes original to this project. They are not Microsoft's theme set. Applying one sends a set-page-theme edit (its own transaction): core writes the theme as a DrawingML a:theme part through the shared drawingml writer, with Visio 2012 theme extensions (scheme IDs, background colour, four variant colour schemes, connector format scheme, font styles, variant style schemes), adds its document relationship and content type the first time, and sets the page's ThemeIndex, ColorSchemeIndex, EffectSchemeIndex, ConnectorSchemeIndex, FontSchemeIndex, VariationColorIndex and VariationStyleIndex. The scheme IDs (1000-1005) and extension URIs are this project's own; Microsoft Visio has not reopened these parts, so whether it recognises them is unverified. Shapes whose paint is THEMEVAL() recolour through the page selectors when the drawing is read again; local shapes quick-styled while the drawing had no theme (including dropped Basic Shapes masters) carry the exact fallback RGB() colours, and those are turned into THEMEVAL() so they follow the theme. Dropped masters now use variant colour 1 (Quick Style colour 100), so Design > Variants recolours them. Shapes with other colours, master instances and LockFormat or LockThemeColors shapes are left alone. No Theme sets those page cells to 0 and turns such shapes back into their fallback colours (or, when the document has a verified No Style root, leaves Visio's root formats to apply); the theme part stays in the package. Design > Variants shows the page theme's four variants and changes VariationColorIndex and VariationStyleIndex. Variants > More lists Colors, Fonts, Effects, Connectors and Embellishment disabled with reasons: theme fonts are written but text does not follow them, theme effect styles are not rendered and custom colour sets are not written. Themes apply to the current page only.

Home > Effects > Glow (No Glow, 5/8/11/18 pt in the page theme's Accent 1-6 at 60% transparency, Glow Options), Soft Edges (none, 1 to 50 pt) and Reflection (tight, half and full, touching or 4 or 8 pt offset) write GlowColor, GlowColorTrans, GlowSize, SoftEdgesSize, ReflectionTrans, ReflectionSize, ReflectionDist and ReflectionBlur through the format-shape edit, with the same admission as shadows. The parser models them and the SVG renderer draws them with filters: glow as a dilated, blurred copy in the glow colour beneath the shape, soft edges as the geometry masked by its eroded, blurred alpha, and reflection as the geometry mirrored about the shape's bottom edge and faded by a gradient mask (text is not reflected). Theme-selected effect cells are not drawn. Bevel and 3-D Rotation stay disabled: they need a 3-D renderer. These are approximations; no pixel comparison with Visio has been made.

The Effects menu's Options commands open the Format Shape dialog (shared office-ui-dialog) with Fill (colour, transparency), Line (colour, width, dash type, transparency) and Effects (shadow preset, glow, soft edges, reflection) sections; only changed fields are sent, as one undoable format-shape edit per selected shape. Arrowheads, gradients, bevel and 3-D rotation are not in it. (Since 2026-10-10 the Shape Styles launcher opens the Format Shape task pane.)

Evidence: core tests (theme part written and read back by the Visio and shared readers, relationship and content type once, page selectors, recolouring and variants through parseVsdx, No Theme, rejections; effect cells, round trip, scene validation, rejections) and UI tests (Themes and Variants galleries, effect presets with checked state and SVG output, Format Shape dialog, undo).

Quick Styles and outer shadows, 2026-10-09 ​

Home > Shape Styles > Quick Styles is the shared office-ui-gallery with Visio's theme style grid: seven colours (Dark 1 and Accents 1-6) by six style matrices (Subtle to Intense). A pick sends one format-shape edit with quickStyle; core writes the QuickStyle Fill/Line/Font/Shadow colour cells, the Fill/Line/Effects/Font matrices and QuickStyleVariation 0, and resets fill and line pattern and transparency and every character colour so the style shows, as Visio does when it applies a style. When the shape's theme context resolves (the parser's own resolver, run before writing), fill, line and character colours become THEMEVAL() with a Themed cache and render from the document theme. Without a theme (new drawings, for example) they get fixed colours from an approximation of the Office theme styles (visioFallbackQuickStyle), written as RGB(); these are not the colours Visio itself would choose for a theme-less drawing. Gallery tiles always preview the fallback colours. No tile shows which style is applied.

Effects > Shadow offers No Shadow and nine outer offset presets. Core writes ShdwPattern, ShdwForegnd (black), ShdwForegndTrans 60%, ShapeShdwType 1, ShapeShdwOffsetX/Y (3 pt) and ShapeShdwBlur (4 pt, 8 pt for Center) on the shape. The parser now models a saved simple shadow (colour, opacity, page offset, blur) and the SVG renderer draws it beneath the geometry as an offset, blurred copy mapped through the shape's rotation and flips; themed shadow cells, oblique and scaled shadows are diagnosed, not drawn. Bevel and 3-D Rotation stay disabled with their reasons (Glow, Soft Edges and Reflection: see above).

Both edits use the existing admission: local, unlayered, ungrouped non-master shapes only, LockFormat and guarded cells refuse atomically, and a numeric theme formula cache that would go stale refuses with EDIT_UNSUPPORTED_FORMAT_DEPENDENCY (Themed caches are exempt because readers resolve them from the current selectors). Undo/redo uses the source history. Evidence: core tests (cells written, parseVsdx round trip, theme-resolved and fallback colours, shadow model and scene validation, rejections), UI tests (gallery and shadow routing, enablement, checked preset, SVG shadow) and a production suite run in Chromium styling three dropped Basic Shapes. Native Visio reopen and pixel comparison of styles and shadows have not been done.

Insert > Pictures and canvas file drops embed validated PNG, JPEG, GIF, BMP, TIFF, static SVG and bounded classic EMF as Type="Foreign" shapes. Each has ImgWidth/ImgHeight cells, a visio/media part and an internal image relationship. Pictures are centred at their 96 DPI natural size, scaled down to fit 80% of the page. Selection, move, resize and delete use the existing edits. Deletion leaves the media and relationship in the package.

Image limits are 8 MiB, 16 megapixels and 16384 pixels per side, with tighter limits for SVG and EMF. BMP supports uncompressed and bitfield scanlines. TIFF supports a single stripped image with supported samples and uncompressed, LZW or PackBits data. The viewer decodes TIFF to PNG for display and preserves the TIFF media on save. SVG accepts static UTF-8 artwork and internal gradient references. It rejects scripts, stylesheets, external references and unsupported elements. Animated PNG remains unsupported.

A Visio 16.0 automation probe imported a simple SVG as grouped shapes. VSDX files created here reopened and rendered in that Visio build for the tested BMP, LZW TIFF and classic EMF samples. The SVG media rendered in this viewer and appeared blank in desktop Visio. An SVG-to-PNG image relationship also appeared blank in desktop Visio. Microsoft documents that relationship for web drawings. MS-VSDX fallback images

Insert > Link (Ctrl+K, also the shape context menu) adds, edits or removes one local Hyperlink section row (Address, SubAddress as a page name, Description). Ctrl+click follows the default or first visible link: safe http, https and mailto addresses open in a new tab with noopener, and page targets switch pages; the app itself is never navigated. Insert > ScreenTip sets or clears the shape's Comment cell, shown as the SVG tooltip and in the Shape Data window. Both refuse master instances (inherited sections), formula-driven cells and drawings whose formulas read Comment or Hyperlink cells. ScreenTips and link fields are single-line (at most 4096 characters) because the XML writer cannot preserve line breaks in attributes. Object and CAD Drawing stay disabled with their reasons: OLE objects and DWG/DXF import are not supported. Insert > Chart is available (see the next section).

Insert > Chart, 2026-10-17 ​

Insert > Chart opens the shared office-ui-chart-picker (the same body as Excel's Insert Chart: type gallery, grouping, title, data grid and live preview) and embeds the result as an object: an Excel workbook holding the chart data plus an EMF preview, so the chart can be edited as data afterwards. The canvas draws the chart from its own workbook, so it stays sharp and follows resizing, and double-clicking it opens Edit Chart with its type, title and data. Saving draws the chart again from that data; formatting made to the embedded workbook in Excel is not kept. Reopening an exported chart in Visio is not recorded in the verification record. Evidence: viewer-insert-chart.ts, render-embedded-chart.ts and their tests.

Chart object Edit Data and Format Chart, 2026-10-23 ​

A chart object's shortcut menu adds Edit Data and Format Chart (shown only for a chart object). Both read the embedded workbook's chart part as a neutral chart model: Edit Data is the shared office-ui-chart-data-sheet (names, categories and values; add and remove series and categories; paste), Format Chart the shared office-ui-chart-format-pane (fill and outline of the chart area, plot area, title, legend, axes, gridlines and series, series and axis options, legend and data-label options), with a live preview. OK writes the chart part back through the shared chart edit operations, rewrites the data block at A1 of the chart's sheet when the data changed (series references follow it; formatting-only edits leave the cells alone), and replaces the object's workbook and EMF preview as one undoable edit. Unlike double-click Edit Chart, formatting already in the part is kept. Updated 2026-10-26: supported effects, shape 3D, text, pattern fills, markers, trendlines/error bars and axis titles now use shared controls. Picture media allocation and unsupported combo/source cases remain limited. A chart whose data lived elsewhere in its workbook still has that data replaced by the standard block for this workflow. Evidence: viewer-chart-editor.ts and its test, core/xlsx/embedded-chart-space.ts and its test, e2e/visio/chart-object.spec.ts.

Native validation on 2026-10-26 reopened and resaved an eligible embedded chart workbook in Visio 16, retaining an edited title and carried colour mapping. The advanced Format Chart browser workflow also verifies persistence of trendlines and error bars. These checks do not establish OLE activation or native preview pixel fidelity. Parts with unpreservable content are read-only, with a localized reason. Shared diagram primitives do not add native Visio SmartArt support.

Text dialog, Text Block, Symbol, Field and proofing, 2026-10-09 ​

Home > Font and Paragraph dialog launchers open a Text dialog (shared office-ui-dialog) with Font (font, style, size, colour, transparency, case, super/subscript, underline, strikethrough, language), Character (letter spacing), Paragraph (alignment, indents, spacing before/after, line spacing as a multiple or exact points), Text Block (vertical alignment, margins, text background colour and transparency) and Bullets (Visio's seven built-in styles or a custom character) tabs. Only changed fields are written, as one undoable format-text edit over every selected shape's whole text. The Tabs tab is informational: tab stops are not written because the Tabs section layout is not verified against a Visio-authored file (the renderer does lay out the stops it reads). Character scale and position offsets, double underline/strikethrough, per-run dialog editing and the bullet font are not offered. The renderer now draws letter spacing, all/initial/small caps and super/subscript (Visio's default 2/3 size and 1/3 offset); text backgrounds were already drawn.

Home > Tools > Text Block (Ctrl+Shift+4) frames the selected shape's text block with a movable body, eight resize handles and a rotation handle (whole degrees). Release writes TxtPinX/TxtPinY/TxtWidth/TxtHeight as Width*k/Height*k formulas, TxtLocPin as half the block and TxtAngle, so the block follows later resizes. It applies to top-level local 2D shapes only (not lines, groups, masters or layered shapes). Escape turns the tool off.

Insert > Symbol opens the shared office-ui-symbol-picker (common symbols plus a character-code field). With the shape text editor holding the caret it inserts at the caret as an unapplied draft; otherwise it appends to the selected shape's text with a range edit (empty text is replaced); appending directly after a trailing field is refused, because a range edit must replace at least one character outside a field. Insert > Field inserts a <fld> and Field row for Date/Time (current, creation, last saved, last edit, print), Document Info (title, author, subject, manager, company, category, keywords, description), Page Info (name, number, count), Geometry (Width, Height, Angle) or a custom numeric formula over the shape's own cells, with a supported format-picture subset. Page, document and date fields are evaluated when the drawing is opened; geometry fields follow resize recalculation. Fields are atomic in the text editor: edits around them are saved as range edits and edits that touch a field are refused with a reason. Native Visio reopening of these Field rows (Type, Format pictures, missing UI category cells) is not verified.

Review > Spelling (F7) selects the selected or first text shape on the page and opens the shape text editor with the browser's native spell checking (spellcheck); no dictionary is bundled and other shapes are not walked automatically. Review > Language marks the selected shapes' text with a proofing language (Char.LangID). Thesaurus stays disabled: no thesaurus is bundled.

Rich-text replacement and fixed page-size core, 2026-10-09 ​

Source range replacements now preserve supported character formatting within paragraphs. The existing scoped planner emits these commands, while paragraph breaks retain the plain-text writer. Twenty-four rich native outputs and 18 plain outputs match and reopen in Visio 16. Fields, rich paragraph deletion, paragraph break changes and conflicting marker boundaries still refuse atomically.

The page-size command selects fixed/custom drawing dimensions without moving shapes or changing printer paper. Native comparison and reopen evidence covers 28 outputs across fixed dimensions, size modes and a core-created document. Affected or unknown page-size formula dependencies are refused.

Page setup, backgrounds and page breaks, 2026-10-09 ​

Design > Page Setup works through core page edits, each one undoable step: Orientation swaps the page and writes PrintPageOrientation; Size offers Letter, Tabloid, Legal, Statement, Executive, A3, A4, A5, B4, B5, ANSI C-E and ARCH C-D in the page's orientation, Fit to Drawing (page resized to the top-level shape extent and the movable shapes shifted onto it in one transaction; glued connectors follow; any other shape that cannot be moved refuses the fit) and More Page Sizes. Auto Size toggles DrawingResizeType (1 on, 2 off); while it is on, a create, move, resize, paste or duplicate that leaves shapes beyond the right or top edge grows the page in whole print tiles (the saved paper less its margins at the print zoom, else the page size). Visio also grows the page left and down by moving the page origin; that is not done, and a growth the core cannot prove is skipped with a diagnostic while the shape edit stays.

The Page Setup dialog (group launcher, and File > Print > Page Setup) edits the printer paper (PaperKind) and its orientation, the page size (custom, standard, same as printer paper or fit to drawing contents), the drawing scale (PageScale and DrawingScale in in, ft, mm, cm or m; the physical page is kept and shapes keep their drawing units, so dependent formulas such as ThePage!DrawingScale are refused) and the page properties (name, foreground/background type with Visio's tab order, and the BackPage background). Margins, print zoom, the printer and predefined architectural/engineering scale lists are not edited. The paper table only knows common DMPAPER codes.

Backgrounds and Borders & Titles are this viewer's own small designs (Solid, Band and Verticals backgrounds; Simple, Banner and Underline borders), not Visio's stencil masters. Like Visio they create a background page named VBackground-n, assign it through BackPage and draw plain local rectangles on it; Background Color recolours the applied background. The title is plain editable text initialised with the page name: it is not a PAGENAME field and does not follow later renames. The shapes use explicit sizes, so they do not refit when the page is resized later (apply the design again). A page that uses its own, non-VBackground background page is refused. No Background and No Border remove those shapes; the VBackground page is deleted once it is empty and no other page uses it.

View > Page Breaks draws dashed lines where printed sheets split the page, tiling from the top-left corner by the saved paper, orientation, margins and print zoom. Without a saved PaperKind, Letter is assumed (the checkbox tooltip says so). Visio's actual tile origin, centring and overlap are not reproduced, and none of this has been reopened in Visio yet.

Scoped replacement and zero-weight SVG output, 2026-10-09 ​

The shared Find/Replace controls support literal case-sensitive occurrences, selection/current-page/all-page scopes, current replacement and atomic Replace All. Scope tokens survive owned result navigation while rejecting stale source or manual intent. All six native bindings expose the same controller operations and reactive document/selection callbacks. Unsupported matched text refuses the entire source batch. Core replacement output matches 18 native Characters-range cases and reopens in Visio 16; native dialog traversal, rich-text replacement, case folding and whole-word matching remain open. Shared UI checks and the full 861-case browser run passed (146 active, 715 optional native captures skipped). Installed native handles exercise the same replacement plans and reactive hooks. An additional reproduced cancellation-ownership race is fixed and covered by 41 focused controller/adapter checks. Production builds, all six replacement browser workflows and the final nine-tarball installed consumer passed again after this fix.

Static SVG now applies the measured zero-weight policy without changing raw source width: native zero weight exports at 0.75 points, while nonzero thin lines stay literal. Twelve native cases pass through core and the shared DOM exporter, including dotted cap variants and filled-arrow setbacks. This does not establish native live, raster or print hairline parity.

Paint patterns, transparency and native dashes, 2026-10-09 ​

The shared Line menu now exposes No Line and built-in patterns. Fill & Line provides fill patterns 0-24, background color, line patterns 0-23 and foreground/ background fill transparency plus line transparency. It commits changed fields as one selection edit, preserving untouched mixed values and exact undo bytes. All six native handles use the existing generic edit API and reactive hooks.

Core preserves protected cells, unrelated styles, text and geometry; transparency uses native half-percent rounding. Ordinary inherited solid themes are supported. Active gradient transparency/background edits require explicit paint replacement. Native edit/reopen evidence covers 54 cases across three drawing scales. Separately, 432 native SVG cases establish built-in dash lengths and cap mapping across all patterns, three caps, two stroke weights and three scales. Square dots retain their fixed 0.01-point length. Complete raster equality, custom line patterns and all gradient editing behavior remain outside this evidence. Core/UI regressions, strict checks, native bindings, production builds and nine-tarball installed consumer checks passed. All six installed native mounts verified every supported fill pattern, raw opacity, No Line followed by pattern 23, document events, preserved selection and exact byte undo. Six focused paint-property browser workflows passed; the full production run passed 140 active checks with 715 optional native-capture cases skipped and no failures, in 7.4 minutes.

Fixed-size Text Tool and logical text, 2026-10-09 ​

Home Text Tool and Insert Text Box now share a plain-text draft on a dragged fixed-size box. Existing-shape clicks reveal the text-edit controls. Rectangle, ellipse and line creation share captured intent, atomic source acceptance and created-selection history. Page, source, selection, zoom, visibility and cancellation changes supersede stale drawing drafts and pending creation. Every native binding receives this shared UI; all six generic applyEdits() handles also accept the required-text create-text-box command.

Core owns source creation, saved default text styles, geometry planning and dependency/protection admission. New text boxes explicitly set FillPattern=0 and LinePattern=0; line color alone cannot enable their outline. Plain-text replacement honors effective LockTextEdit and refuses affected or unknown text dependencies. VSDX logical text removes one structural terminal paragraph marker while retaining intentional trailing LF characters and styled blank paragraphs; legacy VSD behavior remains unchanged.

Insert > New Page exposes the existing blank-page source command on the Insert tab. Native logical-text evidence covers ten saved inputs and forty core writer outputs, including native resave/reparse. A separate 24-case native fixed-box API oracle verifies default and custom Text Only/Arial 18 pt saved styles at three drawing scales, actual core output and native reopen. Core/UI, strict checks, native bindings, production builds and all-six installed-package workflows passed. The full production browser suite passed 134 active checks with 715 optional native captures skipped, including all six Text Tool and resize workflows. Text Tool GUI defaults, automatic sizing, broader template/theme defaults, rich-text content editing, text rotation gestures and full Visio text layout remain unverified. See verification for the bounded evidence.

Anchored resize and numeric Size & Position, 2026-10-09 ​

The shared pointer tool now exposes eight single-selection resize handles. Core computes the fixed opposite anchor along saved rotated/reflected local axes and proves the resulting source dimensions, proportional local pins and dependent caches before mutation. Preview changes the selection frame only; release is one history transaction. Existing resize-shape commands without an anchor retain their fixed-rotation-pin behavior.

View > Task Panes > Size & Position edits X/Y and dimensions in drawing inches and angle in counterclockwise degrees. Enter or blur commits one valid field; exact current-value input preserves bytes/formulas/history. Drafts survive unrelated rerenders on the same source/selection. Newer source/page/selection intent and cancellation supersede pending edits. The same shared component supplies these controls to all six bindings.

Admission is bounded to source-backed ordinary local, unlayered, unglued 2D leaves. Protected cells, unsafe formulas, nonproportional guarded local pins, dimension-dependent rotation/flip changes and affected text fields can refuse atomically. Groups, masters, foreign objects, multi-shape resize, full-content resize preview, snapping, aspect-modifier gestures, numeric formula/unit-string entry and pin-position editing remain open. Native source and reopen evidence is recorded in verification; it does not establish full Visio behavior or visual parity. (Update 2026-10-30: multi-selection resize, anchored resize of flat local groups and move snapping with the Alt bypass have landed; nested, rotated and stencil group members, aspect-modifier gestures and resize alignment hints are still open. See the editing review in docs/visio-parity-review.md.)

Blank drawings and pointer gestures, 2026-10-09 ​

File > New > Blank Drawing, Ctrl+N and all six native handles create an editable one-page VSDX through the shared load lifecycle. The core owns package generation, declared font/style defaults and physical page dimensions. Native Visio 16 opens and resaves blank and rectangle fixtures at three paper sizes. Templates, theme galleries and additional New document types remain open.

The pointer tool now previews and commits single or multiple local 2D shape moves in one history step. Blank-page dragging supports full-enclosure marquee with additive modifiers. Source/page/selection changes cancel gestures and pending source acceptance. Protected targets reject the complete move. Masters, groups, layers, foreign objects and glued connectors remain outside pointer movement; resize handles now have the separate bounded proof described above; routing remains unsupported. (Update 2026-10-30: glued connectors now follow a moved shape and right-angle connectors are routed around shapes placed on their path (edit-connector-follow.ts, edit-connector-reroute.ts), and master instances move and resize natively; connectors in files saved by Visio are still refused for geometry edits.)

Pure deletion batches now permit references entirely inside the removed set. Retained references, metadata and Connect records still refuse, with all target protections checked before mutation. Native deletion and core Cut/Paste reopen cover nine cases across three drawing scales. Mixed edit/delete transactions retain the previous sequential policy; connector healing remains open.

Shape clipboard, 2026-10-09 ​

Copy, Cut and Paste now run through the shared web component and every native binding handle. Home, context menus, Tell me, keyboard and native clipboard events use a single DOM adapter. Core captures source XML in a worker; paste validates the actual payload, allocates fresh IDs/names and selects the result in one history step. Cut deletes only after a successful clipboard write. Denied access, protected deletion and superseded actions have explicit feedback. Text inputs retain native clipboard behavior.

This is viewer shape clipboard support using a bounded versioned text/plain payload. It is not native Microsoft Visio clipboard interoperability. Captured ordinary local unglued 2D leaves survive edits or deletion of their originals. Paste requires matching font/style/theme definitions and page settings, ordinal, background context and drawing ratio. Groups, masters, layers, foreign content, outside-selection references and unsupported formulas remain refused. Paste Special, resource import, cross-scale placement and native paste cascade remain open. See the API and verification record for the precise contract and evidence.

Format Painter and Change Case, 2026-10-09 ​

Home > Clipboard > Format Painter copies the single selected shape's fill (solid colour, classic pattern, background colour, transparency or No Fill), line (colour, weight, pattern, transparency) and text formatting (font, size, colour, bold, italic, underline, strikethrough, alignment, left indent and bullets) as the existing whole-shape format-shape and format-text edits. A click applies once to the next selection (one shape or a multi-selection); a double click keeps it on until Escape or another click on the button. The button shows its pressed state while armed, and each application is one atomic, undoable transaction. Text formatting comes from the first run and paragraph and is applied to the whole target text, so per-run differences are not copied. A target without text receives only fill and line formatting, because the core text formatting edit refuses to create a Text element. Gradients, arrowheads, shadows, rounding and theme effects have no edit command yet and are not copied; the announcement and tooltip name what was skipped. Sources and targets follow the existing formatting admission (local leaf shapes without masters, groups, foreign images or layers), and fonts must already be declared in the drawing.

Home > Font > Change Case offers Sentence case., lowercase, UPPERCASE, Capitalize Each Word and tOGGLE cASE. The conversion is the format-neutral changeTextCaseRanges in ooxml-core/text; the Visio command emits replace-text-ranges spans split at every run and line boundary, so rich runs keep their own formatting and markers instead of being flattened. Fields, shapes without a local Text element and the other range-edit refusals are reported honestly. Case conversion is per code point with sentence and word context; Visio's own exceptions (for example its sentence detection after abbreviations) are not reproduced exactly.

Evidence: core text/change-case.test.ts, visio/ui/change-case.test.ts and visio/ui/format-painter.test.ts (edit, save and reparse), and shared UI viewer-format-painter.test.ts. Not yet checked by native Visio save/reopen.

Home formatting, selection and arrangement, 2026-10-09 ​

The Home ribbon now routes font family/size, increase/decrease size, bold, italic, underline, strikethrough, font color, bullets, indentation, horizontal/vertical text alignment including justification, solid fill, line color/weight and Bring to Front/Forward and Send to Back/Backward through source-backed edits. All six bindings use the same web component, worker, history and VSDX export path. React and Vue state subscriptions also follow viewer replacement; native reactive state remains available in React, Vue, Angular, Svelte and Solid, with subscriptions in vanilla.

Ordered multi-selection is shared across all six bindings, with additive clicks, Select All, Escape, immutable selection-change events and native state hooks. Formatting and deletion apply atomically to the selection. Six alignment actions use the first selected shape as their reference. Horizontal and vertical spacing use equal edge gaps, ordered by shape centers with selection-order ties. Arrangement currently admits ordinary local leaf shapes with saved pins, excluding groups, masters, layered shapes and glued connectors. A protected target rejects the entire batch. Single-target edit panels and stacking commands remain disabled for multiple selection.

Formatting currently admits ordinary local leaf shapes. Whole-shape text formatting updates effective character/paragraph rows while preserving mixed run markers, unrelated style bits and supported cached fields. Character, paragraph and vertical operations validate their own affected source sections. Font-size steps require a uniform size; the explicit size picker can format mixed-size text. Fonts must already be declared in the drawing. Protected cells, ambiguous rows, unsupported inheritance and affected formula dependencies reject the transaction. Stacking-order edits admit ordinary local top-level siblings in display band zero; layers, masters, groups, foreign shapes and dynamic/container dependencies remain outside that edit scope. Untouched package payloads are preserved, and successful edits participate in undo/redo.

Duplicate is available from Home's Paste menu, the shape context menu, Tell me, Ctrl+D and every native binding's duplicateSelection() method. The core clones admitted local unglued 2D leaf XML with fresh IDs and names, preserves source stacking order and remaps supported copied-shape references. Native offsets are 0.33 drawing inches right and down, independent of page scale. The copies become the selection in one undoable transaction; newer user selection intent wins over pending work or history restoration. Groups, masters, layers, foreign shapes and unsupported formula dependencies remain outside duplication admission.

Evidence: core edit-formatting.test.ts and edit-shape-order.test.ts, shared UI viewer-formatting.test.ts, viewer-arrangement.test.ts, the all-six binding state-lifecycle.test.ts, and browser workflows ribbon-formatting.spec.ts and multi-selection.spec.ts. Native Visio 16 save/reopen checks cover the formatting cells and all four stacking actions at three drawing scales, all eight arrangement actions at three scales, and 34 distribution overlap/tie cases. The verification record describes the exact scope and numerical bounds. General native visual and file compatibility remain unproven.

Group and Ungroup are available from Home > Arrange > Group, the shape context menu, Tell me, Ctrl+Shift+G and Ctrl+Shift+U. The core group-shapes edit wraps two or more admitted top-level local 2D trees in a new Type="Group" sheet whose pin, width and height bound the members' rotated alignment boxes, places it at the topmost member's stacking position and rewrites only member pins into group-local inches. ungroup-shape returns direct members to page coordinates through the group's pin, rotation and flips (angles and flip cells are recomposed exactly) and converts native group-scaling member formulas such as Sheet.N!Width*0.5 to their cached values. The parsed page-space transform of every member is unchanged by both edits. A top-level group can be moved (pointer drag or the Size & Position pane) as one sheet; the first click on a member selects its outermost group and a second click subselects one level deeper, as in Visio. Both edits are single undoable transactions and the new group, or the former members, become the selection. Masters, lines and other 1D sheets, foreign objects, glued shapes, layered members, LockGroup or other active protection, formulas that read a member's pin (or, on ungroup, its rotation and flips), dynamic or page-referencing member formulas, references to the removed group and groups with their own geometry or text are refused. Members are written with plain values rather than Visio's group-scaling formulas, so resizing or flipping a group remains unsupported here (Update 2026-10-30: anchored resize and rotation of flat groups now work, edit-group-resize.ts and edit-group-rotation.ts; flips and nested groups remain unsupported) and native Visio group-resize behaviour for these groups is unverified; Add to Group, Remove from Group, container behaviour and native save/reopen acceptance remain open. Evidence: core edit-group.test.ts and ui/shape-group.test.ts, shared UI viewer-grouping.test.ts.

Remaining functionality includes native clipboard interoperability, broader arrangement admission, master overrides and replacement, connector routing/glue, character-range text editing, theme fonts and effects, bevel and 3-D effects, Data tab commands, Visio rule sets and proofing, and the other capabilities marked missing below.

The stacking scope follows Microsoft's documented DisplayLevel bands and refuses dynamic container lookups whose results depend on container z-order.

Bevel, 3-D rotation, Embellishment and theme arrowheads, 2026-10-30 ​

Effects > Bevel and Effects > 3-D Rotation are enabled and write Visio's cells. Evidence came from Visio 16 over COM (cell names, ranges) and its raster export (what Visio draws); Visio's own SVG export ignores both effects.

  • Bevel writes BevelTopType (1-12), BevelTopWidth and BevelTopHeight (6 pt, as points with the PT unit). The numbering is the gallery order, read from renders of types 1-12: 1 Circle, 2 Relaxed Inset, 3 Cross, 4 Cool Slant, 5 Angle, 6 Soft Round, 7 Convex, 8 Slope, 9 Divot, 10 Riblet, 11 Hard Edge, 12 Art Deco (identified by eye from the renders; 1, 2 and 5 are certain, the rest follow the gallery order). The renderer approximates it with an SVG diffuse-lighting overlay (render-bevel.ts): light from the top left, inverted for the two inset types, a narrower profile for the hard types. It does not reproduce Visio's profiles, materials, contour or the extrusion Visio draws when a bevel is combined with rotation, and the strength changes slightly with zoom. A bottom bevel or a contour is read and reported, not drawn. A Themed bevel cell is not read from the theme: the installed Visio 16 themes (Office Theme, Facet, Organic and others) carry a:sp3d with extrusion and contour colours only, no a:bevelT.
  • 3-D Rotation writes RotationXAngle, RotationYAngle, RotationZAngle and Perspective (radians with the DEG unit). The nine presets use our own angles named after the Office gallery; Visio's exact preset angles are not verified. The drawing is a parallel projection about the shape centre (visioRotation3dMatrix), checked against Visio's raster export: X compresses the width, Y the height, X with Y shears so the right side drops, Z turns counter-clockwise, and RotationType 0 to 2 draw alike. Perspective foreshortening and extrusion are not drawn (a perspective preset is drawn parallel and the PDF export says so); KeepTextFlat keeps the text out of the transform. Child shapes of a group are not turned with it.
  • PDF export skips the bevel overlay and reports it; the rotation matrix is exported. SVG export carries both approximations.
  • Embellishment: EmbellishmentIndex is a page cell that changes no resolved shape cell in Visio 16 (set to 0-4 on a themed shape, then read fill, line, shadow, bevel and glow). In the theme part the number is an embellishment attribute of each vt:variationStyleScheme (values 1, 2 and 3 on the four variants of the Office Theme), so Low, Medium and High as 1, 2 and 3 is consistent with the file. There is no decorative geometry to draw from the cell; what the variants change (fill, line and effect style indices) is already resolved. What Visio does to VariationStyleIndex when its Embellishment gallery is used could not be driven headlessly.
  • Theme arrowheads: the installed Visio 16 themes carry no a:headEnd or a:tailEnd in the connector scheme and the arrow cells of a themed connector are literal numbers. A ThemedBeginArrow or EndArrow is now read from the selected connector line style (themeArrow: triangle to code 4, stealth 5, arrow 3, sizes sm, med, lg to 1, 2, 3); diamond and oval ends have no measured glyph and stay unthemed. That mapping is unverified against a real theme that carries arrowheads and has no unit test beyond the literal-cell case.

Perspective, extrusion, contour and themed bevels, 2026-10-31 ​

Evidence came from Visio 16 over COM (cell names, value semantics) and its raster export. Rendering is still not pixel-identical to Visio: the numbers below are fits to a handful of renders.

  • Cells: BevelDepthSize (length, PT) and BevelDepthColor (extrusion), BevelContourSize and BevelContourColor, besides the cells of the previous entry. BevelBottomType/Width/Height also exist. RotationType 0, 1 and 2 render alike. Visio draws depth and contour only when BevelTopType is 1-12 (a depth on a shape with no top bevel, or a contour alone, changed nothing in the export), even with a bevel of zero size, so the reader keeps a zero-size bevel as the "solid" marker. A bottom bevel alone, or with the top bevel, changed nothing on a face-on shape.
  • Perspective: Perspective is a field of view, clamped at 120 degrees. Measured on 3x2 in, 6x2 in, 1.5x1 in and 3x6 in shapes at 30, 60 and 100 degrees, the near and far edge scales follow f / (f - z) with f = 6.36 in / tan(fov / 2), independent of the shape size, with the shape centre fixed. RotationXAngle is a turn about the vertical axis (positive brings the right side nearer) and RotationYAngle about the horizontal axis (positive brings the top nearer), then RotationZAngle in the page plane. This is a rigid rotation, so the old parallel matrix is its f -> infinity case (unit-tested). A shape with perspective or an extrusion is drawn from its projected, flattened outline (solid-3d.ts, render-solid.ts), so the outline is polylines.
  • Extrusion: runs away from the viewer; the back outline is the same shape at z = -depth, and the visible side faces are back-face culled and painted far to near. Offsets match Visio at the angles measured (depth 30 pt, 35 degrees: 0.4 in * sin 35 in picture). Side brightness is a fit to four renders (right dark, top slightly dark, bottom light), not Visio's lighting; Visio shades the faces with a gradient and honours BevelLightingType/BevelMaterialType, which are not read.
  • Contour: drawn as the extruded silhouette stroked at twice the contour size beneath the faces.
  • Themed bevels: a Themed BevelTopType, BevelTopWidth, BevelTopHeight, BevelContourSize or BevelContourColor is read from the selected effect style's a:sp3d (bevelT preset names map to types 1-12 by gallery order, contourW, contourClr with phClr as the shape fill). The themes shipped with Visio 16 (Facet checked) have a:sp3d with only extrusionClr and contourClr, so for them nothing is drawn; a theme with bevelT is unit-tested on a generated theme, with no real-file evidence.
  • UI: the 3-D Rotation gallery gains Perspective Above, Below, Heroic Left and Heroic Right with our own angles (unverified against Visio's gallery); the Format Shape pane's Effects section has 3-D depth and contour size fields (colours are settable through the edit but have no pane control yet).
  • PDF export draws the projected outline, extrusion and contour as ordinary paths and reports that text and pictures use a parallel projection; the bevel lighting overlay is still skipped and reported.
  • Still open: bevel profiles and lighting, materials, side-face gradients, a bottom bevel's effect (none visible from the front), turning child shapes with a group, perspective for text and pictures.

Evidence came from Visio 16 over COM (cells, raster export) and PowerPoint over COM (the Office preset cameras). Rendering is still not pixel-identical to Visio.

  • 3-D Rotation gallery: Visio's gallery is not reachable through COM, so it follows the Office gallery. PowerPoint's ThreeD object gives each ECMA-376 presetCameraType as X, Y, Z and a field of view (45 degrees for the perspective cameras, 80 for the extreme heroic ones, none for the parallel ones). Rendering the same triangle in both products with the same numbers showed that Visio's RotationXAngle and RotationZAngle are the negatives of PowerPoint's RotationX and RotationZ and RotationYAngle is the same, so the presets are stored as (-X, Y, -Z) with Perspective as the field of view (rotation-presets.ts). The list is now No Rotation, Isometric Left Down, Right Up, Top Up and Bottom Down, Off Axis 1 and 2 (Left, Right, Top), and the Perspective set (Above, Below, Left, Right, Relaxed, Relaxed Moderately, Contrasting Left and Right, Heroic Left and Right, Heroic Extreme Left and Right). The earlier invented angles (Off Axis Left and Right, 60 and 90 degree perspectives) are gone. The oblique cameras read 0, 0, 0 and have no rotation-cell form, so they are not offered. Not verified: the values Visio writes when its own gallery is clicked, and the exact gallery order.
  • Bevel lighting: BevelLightingType takes 0 to 16 in Visio 16; 0, 1 and 16 render alike and 2 to 15 are the other gallery lights. For each, the face and the four facets of an Angle bevel were measured against the unlit fill, and bevelLight fits one directional light and an ambient term to them (bevel-shading.ts). The lights' colours (warm, cool) are ignored; entries that clip to white in Visio are capped. BevelMaterialType 7 is flat (no shading), 9 to 11 lift the face towards white and soften the shading, 8 renders white (reported, drawn as the default), the rest are close to the default. BevelLightingAngle did not change the export.
  • Bevel profiles: each of the 12 types has a height profile h(t) shaped by eye from exports of a 0.3 in bevel (convex, concave, stepped, grooved characters). The SVG filter blurs the shape's alpha, maps it through a table that undoes the blur's S-curve into the profile height (bevelHeightTable), and lights that with feDiffuseLighting; only the departure from the face is drawn. This replaces the fixed blurred overlay. Corners are rounded, not mitred, and the strength still depends a little on zoom (SVG lighting works on device pixels, a nominal 96 per inch is assumed).
  • Text and pictures under perspective: one affine matrix fitted by least squares to the projection of the shape's box, anchored at the centre (projectionMatrix). It follows the foreshortening and shear but not the convergence, so content can sit slightly off the projected outline at the corners. A parallel rotation stays exact. The PDF report names this.
  • Groups: the children of a group with 3-D rotation are wrapped in the same fitted matrix, so they turn with it (exact for a parallel rotation, an approximation under perspective). A child's own rotation composes inside. Nested groups compose by nesting.
  • PDF export still skips bevel shading (the report now says profiles and lighting) and exports the fitted matrices and projected outlines.
  • Still open: Visio's own gallery values, oblique presets, exact bevel profiles and mitred corners, light colours, material 8, point-by-point projection of text, pictures and group children, zoom-independent strength.

Capability inventory ​

Full Microsoft Visio parity is a target, not a current claim. Snapshot: first written 2026-10-09 and updated through 2026-10-28 (Stencils and callouts 2026-10-15, Editing and history 2026-10-28; Collaboration and comments re-verified 2026-10-22). Rows not named were not re-checked after 2026-10-09.

Gradient fidelity remains open: native PNG captures show that two-stop colors and path-following contours differ from native SVG export. Exact native-SVG comparisons below do not establish native raster parity. See verification.md for the 68-case and extended 84-case raster captures and the unverified-gradient-raster diagnostic.

Linear gradient viewing also covers native height-zero line shapes. Along-line, perpendicular and rotated oblique captures meet the existing interior bounds on all six routes for live and portable SVG. Save/core reparse preserves their paint through direct straight-line movement and while an unrelated 2D control is moved. Native horizontal, diagonal, vertical and reversed straight lines now move through the shared editing and dependency path with preserved midpoint and length formulas. All six routes cover controls, undo/redo, download and reload. Unreferenced local lines also delete through shared LockDelete and reference checks, with native four-line deletion and all-six history/download/reload comparisons. Movement checks include local and inherited endpoint locks. Width-cell resizing now admits positive Width with zero Height on proven local straight lines. Native assignments preserve endpoint cells and midpoint/angle formulas while replacing Width and recalculating geometry/local pins. Four native orientations and all-six controls/history/download/reload comparisons verify caches and poses. Resized gradient interiors meet existing native PNG bounds on all six live/export routes. Nonzero line Height, broader 1D resize/movement formulas, routing/glue, arrow paint, point-sized strokes and native Office reopen acceptance remain open.

The shared move-line-endpoint API now edits begin or end coordinates on proven local unglued straight lines with native derived transform formulas. Eight native cases and twelve all-framework worker/history/download/reload scenarios verify caches and poses. Pointer endpoint handles now commit the same command once on release, with a preview, cancellation and all-six native pose/history/save/reload comparisons. Static Width overrides, flipped or coincident endpoints, broader formulas and glued connector routing remain open. Native Visio snapping, keyboard endpoint manipulation remain unverified. Native drawing-to-page ratios 0.5, 2 and 3 have 72 distinct API/pointer workflows across six frameworks, including both endpoints, undo/redo, download and reload. Independent native SVG measurements verify physical paper sizes and saved endpoints, and page-scale metadata is preserved byte-for-byte. Other scales and unit conventions remain unverified. Native endpoint assignments also verify oblique linear stroke paint after API editing, undo/redo and save/reload: eight two/three-stop opaque and translucent cases across six frameworks, live and portable SVG. Interior errors meet existing bounds (maximum four, mean below 0.885), with exact pixels, native Office reopen acceptance still open. The same eight paint cases also pass actual pointer editing and saved reload across all six frameworks within the unchanged paint bounds and existing four-decimal pointer geometry contract. Other gradient directions/angles and exact pointer-paint pixels remain open.

The shared create-line command creates unglued straight lines with native endpoint-derived transforms, local geometry and DocumentSettings style defaults. Line drawing uses the existing rectangle gesture lifecycle, shared shape-ID allocation and physical-page conversion; the menu and Ctrl+6 select it. Four native orientations match core formulas, geometry, styles and cached poses. All six framework routes verify actual drag creation, undo/redo, cancellation, public save and reload, with independent native SVG endpoint measurements. Native drawing-to-page ratios 0.5, 1, 2 and 3 now have creation comparisons across all six routes, including lines extending past the paper edge. Line gestures retain those endpoints rather than clamping them to paper dimensions. Native mouse snapping, outside-page gesture semantics and visibility, adjoining-line glue, other creation styles, other scales/unit conventions, exact paint pixels and native Office reopen acceptance remain unverified.

Freeform (Ctrl+5), Pencil (Ctrl+4) and Arc (Ctrl+7) draw through one shared create-path command. The core (path-fit.ts, ui/draw-path-plan.ts) fits the pointer stroke: Freeform simplifies the samples with Ramer-Douglas-Peucker and fits smooth cubic segments through them; Pencil splits the stroke at sharp corners into straight lines and circular arcs; Arc draws a quarter of the axis-aligned ellipse spanned by the drag. A Freeform or Pencil stroke ending within 1/8 inch of its start closes into a filled shape; open paths are unfilled. A stroke that fits one straight segment becomes an ordinary line. The shape is a local 2D shape whose single Geometry section uses only relative rows (RelMoveTo, RelLineTo, RelCubBezTo, RelEllipticalArcTo; arc axis ratios are the formula Width/Height*k), so it moves, rotates, deletes, undoes and resizes; resize admission accepts these rows only with that ratio proof and zero arc rotation. Unsupported or unverified: Visio writes NURBSTo or SplineStart/SplineKnot for freeform curves and ArcTo for pencil arcs, which are not reproduced; Pencil chains segments within one drag, not across separate drags, and has no vertex-editing mode; Freeform has no precision setting; native mouse snapping is not inferred, and these shapes have not yet been reopened in Visio.

The Connector tool (Home > Tools > Connector, Ctrl+3) draws a straight connector with create-line plus connect: { begin?, end? }. An end released on a visible, local, top-level 2D shape is glued to it with native dynamic (shape-to-shape) glue: _WALKGLUE(BegTrigger,EndTrigger,WalkPreference) on the glued endpoint cells, _XFTRIGGER(Sheet.N!EventXFMod) triggers, ObjType 2, an end arrow (code 4) and Connect rows (FromCell BeginX/EndX, FromPart 9/12, ToCell PinX, ToPart 3). An end released on empty canvas stays unglued. The shape under the pointer is highlighted as the glue target while the tool is active. Glued ends sit on the side midpoints of the alignment boxes that are closest to each other (skipping coincident pairs of touching shapes); moving, resizing (including anchored resizing), rotating or flipping a glued shape walks and recalculates the connector's endpoints, midpoint, length and angle in the same transaction. Dragging a connector or one of its endpoints unglues the affected ends, deleting a glued shape removes its Connect rows and leaves the connector's end where it was, and deleting a connector removes its rows. Undo and redo use the ordinary edit history. Glued pages keep formatting, text and stacking edits.

Connection points and routes. Home > Tools > Connection Point (Ctrl+Shift+1) adds a Connection row where a local top-level 2D shape is clicked, with Width*x and Height*y formulas so the point follows resizing (add-connection-point); clicking a point selects it and Delete removes it (delete-connection-point), ungluing ends glued to it in place and renumbering later rows together with the glue that names them. View > Visual Aids > Connection Points shows every shape's points (inherited master rows included, drawn fainter) as blue x markers. A connector end released within 8 pixels of a point glues to it with point-to-point glue: PAR(PNT(Sheet.N!Connections.Xk, Sheet.N!Connections.Yk)) on both end cells and a Connect row with ToCellConnections.Xk and ToPart 100 plus the row index (k counts rows from 1). Dropping a connector's endpoint on a shape or point re-glues it (glue-connector). New connectors are right-angle by default: Visio's dynamic-connector cell form (Angle 0, Width EndX-BeginX, HeightEndY-BeginY, ShapeRouteStyle 1, ConLineRouteExt 1) with an orthogonal polyline from a small candidate router that leaves each glued end along its side and avoids crossing the two glued shapes; the route is recomputed when a glued shape moves or resizes, and the move preview shows it live. Design > Connectors switches the selected connectors (and new ones) between Right-Angle, Straight (ShapeRouteStyle 16, the straight cell form) and Curved (ConLineRouteExt 2, one NURBSTo cubic); Insert > Connector picks the style and arms the Connector tool. All of these are ordinary undoable edits.

Limits: the router is not Visio's (it avoids placeable shapes only, see the section on that above; no spacing between parallel connectors, no Re-Layout); right-angle and curved connectors cannot be resized, rotated or flipped (they change through their ends and route); connection points are added to and glued on local top-level 2D shapes only, so master instances (whose points come from the master) can be neither glued nor edited, and inherited points can only be displayed; points are never added to 1D shapes or groups; formulas other than glue that read a shape's Connections cells block deleting its points; ShapeRouteStyle and ConLineRouteExt values follow Visio's documented constants but Visio's own reopen of these connectors, of point glue and of the Connections.Xk naming has not been verified; glue in files saved by Visio is still refused for geometry edits because their connectors are master instances; dragging a connector together with its glued shapes keeping glue is not supported. View > AutoConnect is described in its own section at the top.

Rectangle creation now shares the line command's DocumentSettings style references and inherited-style admission. Native standard and distinct custom line/fill/text default IDs verify effective rectangle geometry, color, line weight and poses. All six browser routes compare unselected fill/stroke colors and opacity with native SVG, then verify undo/redo and saved reload. Shape-dependent inherited style formulas remain refused. Other default styles, text paint, exact pixels and native Office reopen acceptance remain unverified.

The shared create-ellipse command now uses the rectangle's box transform and drawing-default style construction. The Ellipse menu and Ctrl+9 use the same gesture lifecycle, page conversion and ID allocator. Native DrawOval control formulas are preserved, and canonical axis-aligned local ellipses can resize through the existing dependency recalculator. Standard and custom style references verify core creation/move/resize plus all-six pointer creation, geometry controls, undo/redo and public save/reload. Native SVG extent and color comparisons cover basic unscaled ellipses. Native drawing-to-page ratios 0.5, 2 and 3 also cover rectangle/ellipse pointer creation and ellipse resize/move, history and saved reload across all six routes. Shared page conversion is reused, and unrelated package parts remain byte-for-byte unchanged. Rectangle and ellipse gestures now retain off-paper coordinates through the same unbounded conversion as lines, instead of collapsing both corners at the paper edge. Arbitrary control axes, other formulas, other scales and rotated browser authoring, native snapping, exact pixels and native Office reopen acceptance remain unverified.

The shared rotate-shape command also admits proven local top-level 2D groups, including nested descendants. Native parent-angle assignments verify a custom pivot at 30 degrees and a two-level group at 210 degrees on drawing-to-page ratio 0.5. Child local cells and formulas remain unchanged; the shared affine composer and renderer place every descendant from the changed parent transform. The shared model admission now exposes the existing pointer handle and left/right quarter-turn menu for those group trees, alongside the angle control. Flips retain leaf-only admission. This reuses the existing atomic geometry edit, protection, dependency, preview renderer, worker and history paths. Descendant dependencies affected by the changed Angle, masters, foreign objects, 1D descendants and glue remain refused. Native snapping and group-selection semantics, other group edits, complex display modes, exact paint and native Visio reopen acceptance remain open.

The shared rotate-shape command sets a local 2D shape's angle in radians through the existing geometry transaction, protection and dependency path. The shared experimental control accepts degrees and forwards that command. Native rectangle and ellipse rotations at 30, -45, 90 and 210 degrees, with drawing-to-page ratios 1, 2, 0.5 and 3, compare cached poses and unchanged local geometry/styles. All six bindings cover control editing, undo/redo and public save/reload. Local/inherited LockRotate and guarded/dependent angle formulas are checked; angle units are explicit. Unguarded resolved static Angle formulas now share the flip source dependency/cache proof. Native absolute and quarter-turn captures verify formula replacement, including a current-value assignment that changes the formula without changing the pose. That API edit is undoable; formula-free same-value commands still preserve source bytes. Control, pointer and menu workflows use the same existing command/history path. Pointer rotation handles reuse shared geometry and preserve the source pin, including off-centre pivots. Live preview uses the existing renderer without source/history changes; native snapping and preview paint remain unverified. The shared quarter-turn command builder reuses local-shape admission and the existing rotation edit. Ten native per-shape Left/Right 90-degree comparisons cover custom pins, signed normalization, scaled pages and both half-turn boundaries. The nested Position > Rotate Shapes menu now uses the shared nested menu control and routes Left/Right 90-degree commands through the existing worker/history path. Flip Horizontal and Flip Vertical now use one atomic core edit that toggles the local flip flag and negates Angle while retaining the saved pin. Four native rectangle/ellipse comparisons cover a custom pivot at 30 degrees and scaled pages at 210 degrees. Native locked and guarded-angle horizontal flips now retain the original Angle cell while toggling the flip flag; both shapes pass core comparisons and six-binding menu/history/save/reload checks. Scalar inherited rotation locks also have core regression coverage. Guarded FlipX/FlipY flags now retain their formula/cache while an unprotected Angle negates, matching four further native rectangle/ellipse poses. Fully blocked flips preserve source bytes without a dirty part. Two native fully blocked references (guarded Angle plus flag, and rotation lock plus guarded flag) now verify unchanged poses and source bytes for rectangle/ellipse, including scaled/custom pivots. Six-binding menu checks preserve generation, clean state and undo/redo branches and report that no change occurred. Unguarded static Angle/flip formulas now use the shared read-only dependency evaluator and source-cache proof. Three native captures verify replaced nonzero Angle and toggled flag formulas, and retention of a zero Angle formula; six-binding menu/history/save/reload comparisons cover these rectangle/ellipse poses. Unknown or inconsistent dependent sources, inherited transforms, groups/masters/glue, broader native flip gestures and Microsoft Visio reopen acceptance remain open. Unproven protections are refused instead of being overwritten. Native keyboard rotation commands, grouped/master/glued and 1D rotation, broader angle/formula and text/gradient paint cases, exact contours/pixels and native Office reopen acceptance remain unverified.

Native endpoint-cell assignment after a Width override retains the fixed Width, changing midpoint and angle while displayed endpoints diverge from raw cells. Eight saved native cases verify viewing geometry across six frameworks, with the current endpoint-command refusal preserving model/source bytes. Native mouse-drag semantics for these sources remain unverified; this is not endpoint editing parity after Width-cell resizing.

Saved oblique linear fills now use the shared physical endpoint helper rather than native-SVG box rotation. Native 45-degree rectangle paint and 225-degree paint on a 30-degree rotated rectangle meet the existing interior bounds across all six routes for live and portable SVG, with maximum channel error four. Other shapes/angles, contours, exact pixels and native reopening remain open.

Saved linear strokes now reuse the fill-gradient parser, sampler and painter. Native horizontal and vertical rectangle strokes with two/three stops and independent transparency meet the existing interior error bounds across all six routes for live rendering and portable SVG. Colored layers override them with solid layer paint. Oblique rectangle strokes at 45 degrees and at 225 degrees on a 30-degree rotated shape also meet those interior bounds, using the shared physical endpoint helper. Exact pixels, contours, other angles/shapes/groups, arrowheads, nonlinear directions, editing controls and native save/reopen acceptance remain open.

Saved opaque two-stop fills now use the measured sigma/gamma profile, and saved radial fills use physical circular radii. The native PNG interior benchmark still has nonzero channel differences; transparency and exact edge pixels remain open. This improvement does not establish parity.

The saved-gradient native PNG benchmark now covers all 68 captured cases: 52 rectangles (directions 0-12) and 16 path fills (direction 13 on rectangles, ellipses, triangles and notched polygons), with two/three stops and opaque/translucent paint, across six frameworks. Internal region seams are suppressed for every region fill. Native export bounds are registered explicitly; all gradients retain a raster-fidelity warning. Path fills reuse the evaluated outline and shared region/radial renderer. Measured path-fill interior errors remain as high as 10 channel levels, with mean below 2.5. Curves beyond canonical ellipses, holes, offset outlines, broader concave topologies and transformed native comparisons remain open. The extended capture adds pentagons, chevrons, U-shapes and stars. The 80 non-star cases meet the existing regression bounds; all six star scenarios remain explicit expected fidelity failures, with maximum channel errors of 43. These failures are recorded independently of successful import/render checks. A separate 32-case path capture verifies 30-degree shape rotation against native page-space poses. Twenty-five cases meet the existing regression bounds; stars and three opaque polygon cases remain explicit failures. Rotated PNGs register to native geometry extents with uniform fitting, rather than the different SVG export frame. Exact contour pixels and broader rotations/groups remain open.

Implementation status is based on source inspection. Test filenames identify evidence; current pass counts and limitations are recorded in verification.md. Generated fixtures and the original demo scene do not establish visual parity with Microsoft Visio.

CapabilityTargetCurrent stateEvidence to inspectStill missing
VSDX package intakeSafe local OPC/ZIP readingInitial implementationCore package.ts; package.test.tsBroader producer corpus, independent security review
Format discovery and pagesRelationships, page order, dimensionsInitial implementationCore parser.ts; parser.test.tsMore genuine document fixtures
Background pagesResolve and draw inherited background pagesPartialCore getVisioPageLayers; viewer render-svg.tsVisio reference comparisons; page-scale interactions
Master inheritanceMaster and instance cell/section mergingPartialCore shapes.ts and sheet.tsFormula-driven resizing, full master semantics
Group transformsNested coordinate systems, rotation, flips and group display modesPartialCore geometry.ts; groupDisplayMode; renderer order testsComplex group corpus and reference renders
Basic pathsMove, line, relative quadratic/cubic segmentsPartialCore geometryPaths in geometry.tsComprehensive geometry conformance corpus
Ellipses and arcsNative cached arc and ellipse geometryPartialCore geometry.ts; geometry.test.tsDegenerate cases and reference images
NURBS, splines, polylinesAll Visio Geometry row formsPartial: polylines, cached splines and bounded NURBS approximationCore geometry.ts; literal/spline analytic tests; real upstream NURBS fixturePeriodic/nonclamped forms, expressions, global error bounds and native spline fixtures
Line and fill stylesFull styles, patterns, gradients and opacityPartial: cached caps/dashes, theme gradients and saved shape-rotating linear, radial and rectangular gradients, native classic orthogonal patterns 25-30, triangle-region patterns 31-35 and radial patterns 36-40; native hatch tiles 2-24 with separate foreground/background alpha; page-aligned hatch axes, native quarter-turn phase and crisp edgesCore style/root and generated horizontal-gradient tests; ten real theme gradients; six real pattern-23 strokes; SVG paint tests; layer-paint and legacy-fill-gradient tests; native two- and three-stop classic gradients; 46 native pattern pages, exact RGBA tile tests and all-six live/export interior comparisons; 23 quarter-turn and 23 scaled native pages; 46 native single-shape X/Y-flip pages and 92 two-level quarter-turn/reflected group pages with exact all-six live/export interior comparisons; shared affine and hatch-transform regressions; ten native opaque/translucent radial pages and ten region-gradient pages with 240 exact full-page live/export comparisons; native saved 90/270-degree gradients with inherited theme placeholders; historical opaque 30-degree and translucent 225-degree native-SVG comparisons, superseded by physical native-PNG projection for saved oblique fills; seven modern radial presets and five modern rectangular presets with opaque/translucent native comparisonsOblique hatch pixel equality (one-byte channel differences remain), broader nested group transforms, resizing and oblique flip placement, broader grouped/rotated region gradients, broader transformed saved gradients, path-following fills and effects and native edit/save/reopen
ArrowheadsAll connector end variantsPartial: codes 1-7 and 9; native open geometry and straight filled codes 2, 4, 5, 6 with measured page/drawing scale normalizationViewer arrowheads.ts; SVG markersCurved/two-ended overlapping filled setbacks, remaining codes, broader scaled-page corpus and browser pixel corpus
Connectors and glueConnectivity, routing, dynamic gluePartial: read model; Connector tool creates right-angle (default), straight or curved connectors with native shape-to-shape or point-to-point glue that follow moved, resized, rotated or deleted shapes; Connection Point tool adds and deletes points; endpoints re-glueCore page connection model; edit-connector*.ts, edit-connection-points.ts, connector-route.ts and their tests; viewer-connector-tool.ts, viewer-connection-points.ts, viewer-connector-routes.ts and their tests; connectors.spec.tsVisio router parity (obstacle avoidance, line jumps, Re-Layout), Glue on groups/masters, Visio-saved glue edits, native reopen
ShapeSheet formulasRecalculation and dependenciesPartial: bounded numeric dependency recalculation for admitted geometry edits and local numeric page-number/count caches on page editsCore formula, edit-recalculate and independent review testsScoped package/master/theme graph, dynamic functions and native conformance
TextRuns, margins, orientation, paragraphs and layoutPartial: rich runs, wrapping, spacing, RTL and bullets; byte-quantized character color alphaCore paragraph model; bounded text/paragraph layout tests; native character transparency and shared SVG/snapshot regressionsExact Visio font metrics, tabs, advanced typography and reference comparisons
Themes and stylesTheme colors, variants and inheritancePartial: selected theme records, explicit root-style caches, Quick Style edits that resolve from them, and per-page built-in themes and variants (Design tab)Core theme resolver; upstream colors/gradients; hash-pinned root-cache regressionsMissing caches, complete theme variants/fonts/effects and native reference equivalence
Images and foreign dataRaster, vector, OLE and foreign objectsPartial: PNG/JPEG/GIF, BMP, TIFF, static SVG and bounded classic EMF insert and renderCore round trips, browser picture insertion, security corpus and Visio 16.0 BMP/TIFF/EMF probesUnsupported EMF records, EMF+/WMF, OLE, native SVG reopen and untested raster variants
LayersVisibility, locks, colors and print settingsPartial: shared display controls, bounded visibility, native single-layer geometry/text colors and transparencyCore layer-paint.test.ts; 21 Visio 16 SVG/PNG cases; shared rendering and snapshot tests; all-six binding APIsColored group/image/vector/text-background behavior, editing, native visibility and print policy; native reopening of the new paint corpus
Shape data and hyperlinksProperties, data graphics and linksPartial: cached data, guarded hyperlink metadata, local Link and ScreenTip editing with Ctrl+click following; Define Shape Data (add, change and delete typed Property rows: string, number, Boolean, date, fixed and variable lists, on local shapes and top-level master instances); Data > Quick Import and Custom Import of a local CSV or workbook (first or chosen sheet, optional range, header row) through the shared xlsx loader, saved as DataRecordSets parts (recordsets.xml, ADO rowset data parts, relationships and content types) with RowMap links; the External Data window with drag-to-link, Link to Selected Shapes, Automatically Link by a key column matching shape text or name, Unlink and Remove; Refresh All by the unique identifier column (row order when none was chosen), reporting shapes whose row vanished, through a File System Access handle when the browser gives one, otherwise by choosing the file again; Data Graphics as plain shapes and formatting: text callouts, data bars and icon circles are separate marked shapes, Position, Configure and Auto Space redraw the generated graphics from the field, position and range they remember, Color by Value changes the shape fill and remembers the old one, Remove Data Graphics, and a grouped vertical legendCore shape-data and data-recordset round-trip tests (edit-shape-data.test.ts, edit-data.test.ts, data-table.test.ts, data-graphics.test.ts); viewer-data.test.ts; data.spec.tsExternal subaddresses, frames, links on master instances; deleting master-inherited Shape Data rows; rows read by formulas are refused; the saved data connection names the source file but not its folder, so Visio cannot refresh the source itself, and acceptance of the written DataRecordSets and connection by Microsoft Visio is unverified; Link Data opens the External Data window rather than Visio's data selector wizard; Data Visualizer output is unverified against Visio and Data Graphic Fields and Advanced Data Graphics edit only this viewer's marked graphics; Visio data graphic masters (callouts, data bars and icon sets that follow their shape) are not written, so the viewer's graphics do not move with the shape and are not updated on refresh until applied again; horizontal legends; duration and currency types are read only
Stencils and calloutsMore Shapes, Quick Shapes, stencil files and calloutsPartial. More Shapes opens built-in stencils with original ShapeSheets (Basic Flowchart Shapes and Arrow Shapes, stencils.ts and stencil-shapes.ts); each opens as a collapsible, closable section of the Shapes window, is searchable from Search and drops through the same insert path and default Quick Style as Basic Shapes. Quick Shapes shows the first masters of every open stencil, editable with Add to / Remove from Quick Shapes; open stencils and Quick Shapes persist per browser in localStorage. Insert > Callout (Rectangle, Rounded, Oval, Text only) adds a User.msvStructureType = "Callout" text box and a straight leader connector glued to it and to the selected shape with the core dynamic glue, so the leader follows either shape; deleting the callout deletes its leaderstencils.ts, stencil-shapes.ts, stencil-catalog.ts, shapes-sections.ts, edit-diagram-parts.ts; stencils.test.ts, shapes-sections.test.ts, viewer-diagram-parts.test.ts, diagram-parts.spec.tsLegacy binary stencils (.vss; .vssx, .vstx and .vsdx files are read); full native master behaviours, visual and rich-text master editing, and automatic persistence of My Shapes; some curves are polylines; the callout leader is a separate connector, not part of a callout master, and Relationships DEPENDSON(3/6) formulas are not written; not reopened in Visio
Containers and swimlanesContainer relationships and layoutPartial. Insert > Container (Classic, Plain, Banner, Dashed) and the shape menu Container wrap the selected top-level shapes (or add an empty one) in one undoable core insert-container edit: a local 2D sheet with User.msvStructureType = "Container", a heading band and a margin around the members, placed behind them. Dragging the container moves its members in the same transaction; deleting it keeps them. Membership is written in Visio form: the container's Relationships cell is SUM(DEPENDSON(1, Sheet.N!SheetRef(), ...)), each member carries DEPENDSON(4, Sheet.C!SheetRef()) back, and User rows msvStructureType, msvSDContainerMargin and msvSDContainerResize (plus the editor's own ooxmlContainerHeading) hold the behaviour; the older private ooxmlContainerMembers row is still read. A shape dropped or moved fully inside a container joins the innermost one, a member whose centre leaves it is removed, and the container grows to fit its members with its margin (msvSDContainerResize 1 grows, 2 fits tightly, 0 leaves it) in the same undoable transaction (core reconcile-containers and set-container-members edits); deleting a member or container prunes the linksedit-diagram-parts.ts, shape-structure.ts, ui/diagram-parts.ts, viewer-diagram-parts.ts; edit-diagram-parts.test.ts, ui/diagram-parts.test.ts, viewer-diagram-parts.test.ts, diagram-parts.spec.tsThe DEPENDSON kinds (corrected 2026-10-30 to 1 on the container, 4 on a member, confirmed through COM) and the resize values, the heading band scales with the frame instead of keeping its height, only unrotated ordinary containers resize, resizing the container itself does not change membership, lists and swimlanes, container formulas; 2026-10-29: a core-inserted container (and an empty one) opened in Visio 16.0 build 20527 without repair and its frame geometry matched our cached cells (203 cells, max delta 0) and survived Visio save-as and reopen; whether Visio recognizes it as a container (membership is the non-native User row) and container behavior such as moving members were not checked, see native edit-family checks
Document text searchFind and navigate matching diagram textPartial: bounded visible-shape literal search across pagesShared controller/index/UI tests and all-six native binding integrationPer-occurrence highlighting, regex, language collation, shape-data search and native visibility comparison
Page navigationVisio bottom page tabs, Ctrl+Page Up/Down and "Page N of M" statusPartial: shared page tabs, blank-page insertion, Reorder Pages, Rename Page and Delete Page dialogs with undo/redoCore edit-pages, edit-page-order, edit-page-rename, edit-page-delete and edit-page-formulas tests; shared UI page-insertion.test.ts; six-binding browser page-insertion.spec.ts; native Visio reopen scriptsDeletion renumber option and template/locale replacement defaults; general inherited/string/background-render-context page formulas; broader native page-setting corpus
Page setup and backgroundsDesign > Page Setup, Backgrounds, Borders & Titles and View > Page BreaksPartial: orientation, standard sizes, Fit to Drawing, Auto Size growth right and up, Page Setup dialog (paper, size, drawing scale, page properties), VBackground backgrounds, borders and plain-text titles, page break linesCore edit-page-setup.test.ts, edit-page-decoration.test.ts; UI viewer-page-setup.test.ts; browser page-setup.spec.tsNative reopen, Visio background masters and PAGENAME titles, left/bottom Auto Size growth, margin and print zoom editing, Visio tile origin
Zoom and fitVisio status-bar zoom slider, Fit to Window (Ctrl+Shift+W), Page Width, 100%, Ctrl+wheelInitial implementation: shared ooxml-ui zoom slider, View ribbon Zoom group and the floating Pan & Zoom window (page thumbnail, visible-area outline, click or drag to pan, arrow keys, Ctrl+wheel zoom), plus touch: two-finger pinch zoom around the midpoint with two-finger pan (min 10%, max 800%), one-finger pan on empty paper, tap to select, long-press then release for the shape context menu, a wider finger hit radius for thin connectors and lines, larger handles under a coarse pointer, and touch-action none on the drawing window (viewer-touch-gestures.ts, viewer-touch-math.ts, viewer-touch-hit.ts)viewer-element.ts; viewer-commands.ts; viewer-pan-zoom.ts; viewer-chrome.test.ts; viewer-pan-zoom.test.ts; visio-toolbar.spec.ts; task-windows.spec.tsZoom dialog presets, resizing the Pan & Zoom outline to zoom, pinch on the Pan & Zoom thumbnail, the touch auto-connect arrows, swipe gestures and large-diagram performance
Ribbon and toolbar commandsMicrosoft Visio window: File backstage, Quick Access Toolbar, Home, Insert, Design, Data, Process, Review, View and Help tabs, Tell me, Shapes window, context menus, page bar and status bar, with native shortcutsPartial. Layout follows a capture of Visio 16: tabs, groups, large and three-row commands, dropdown and split menus, dialog launchers; File backstage; Tell me what you want to do (Alt+Q) over every ribbon command with its location; KeyTips (Alt, then letters) across tabs and both Home and View levels; the Shapes window with the Basic Shapes stencil and a minimised Shapes strip that reopens it; shape and page context menus; page tabs with All pages and Insert Page; the Presentation Mode button in the status bar. Working: bounded Home and mixed-run formatting, the Quick Styles gallery and Effects > Shadow presets, Format Painter (fill, line and text; no gradients or effects) and Change Case, source duplication and viewer shape clipboard, shape ordering, multi-selection, atomic deletion and alignment/distribution (see above), Undo/Redo, Pointer Tool with local 2D selection movement and marquee, Connector tool (Ctrl+3, right-angle, straight or curved connectors with shape-to-shape or point glue), Connection Point tool (Ctrl+Shift+1), View > Connection Points, Design > Connectors and Insert > Connector, Rectangle, Ellipse, Line, Freeform, Arc and Pencil drawing tools, fixed-size Text Tool and every Basic Shapes master (Ellipse and Circle as native ellipses, the rest as local line outlines from basic-shapes.ts; the Can's curves are polylines and Visio's own master shapesheets are not reproduced), Change Shape (the Home > Editing gallery of the Basic Shapes, enabled for exactly one top-level local 2D shape: its Geometry sections are replaced through the core change-shape edit, keeping position, size, rotation, flips, text and formatting, with Rounding set for the rounded rectangle and cleared otherwise; Ellipse and Circle use the native Ellipse row and keep the shape's own size; master instances, groups, 1D lines and connectors, pictures, glued shapes, shapes with control handles, LockReplace or LockVtxEdit, and outlines read by other formulas are refused with their reason; Visio's own master replacement, which swaps the master and its shapesheet, is not reproduced and changed shapes are not yet reopened in Visio), Insert Text Box and Blank Page, Edit Text, Shape Data, Find, Layer Properties, Ruler, Grid, Task Panes, Pan & Zoom, Zoom presets, Fit to Window, Page Width, Presentation Mode (F5, read-only page-by-page show), Full Screen, File New blank drawing, Open, Save and Save As (VSDX copy), Export SVG, Print current page, Close, Info, Account (shared ooxml-ui profile editor, stored on this device) and Visio Options (shared ooxml-ui options dialog; User name and Initials honoured, every other setting disabled with its reason). Every other command, master and page is visible, disabled and names the missing capability. Composed from shared ooxml-ui elements, including the ribbon tab row, File backstage, print preview, Find bar and rulersribbon*.ts, backstage.ts, viewer-backstage.ts, viewer-options.ts, viewer-tell-me.ts, viewer-options.test.ts, shapes-window.ts, viewer-stencil.ts, ribbon-change-shape.ts, viewer-change-shape.ts, edit-change-shape.ts, viewer-context-menu.ts, viewer-commands.ts, viewer-presentation.ts, viewer-ruler.ts; viewer-chrome.test.ts, viewer-commands.test.ts, viewer-presentation.test.ts, shapes-window.test.ts, viewer-change-shape.test.ts, edit-change-shape.test.ts, visio-toolbar.spec.ts. Rectangle create plus delete reopened in Visio 16 over COM with exact PinX/PinY/Width/Height; the other Basic Shapes masters are not yet reopened in VisioNative clipboard interoperability and broader clipboard admission, advanced text formatting, theme fonts and effects, bevel and 3-D effects, grouping and broader arrangement admission, Change Shape for master instances and the remaining Insert, Design, Process and Review commands need new core edit commands. Also missing: vector or text-selectable PDF export (the PDF export is picture pages), bundled Help, broader on-canvas gesture admission and visual master editing. Page Breaks works
Shape selectionIdentify shapes by page and shape IDOrdered immutable multi-selection, additive pointer/keyboard toggles, Select All, Escape and first-selected primary; all six native state/event bindingsPage-scoped selection, roving focus, lifecycle tests and all-six browser formatting/arrangement workflowsMarquee selection, assistive-technology and broader cross-browser audit
Framework integrationOne renderer across host frameworksSix thin native adapters with lifecycle testsReact/Vue/Angular/Svelte/Solid/vanilla runtime checks; selected SSR/hydration checksStandalone packaging, cross-browser and historical peer-version matrix
Editing and historyMove, resize, style, text, undo/redoExperimental plain text and admitted top-level local 2D create/move/resize/delete (rectangle and canonical ellipse creation), local unglued straight-line creation/moves, Width-cell resizing and endpoint API/pointer edits, unreferenced local line deletion, plus local rotation/quarter-turn/flip commands (including proven static transform formulas), bounded primitive master-instance moves with explicit local pins, bounded local formatting/stacking order, multi-selection alignment/distribution, multi-selection resize, flat local group resize (eight handles, ResizeMode 0-2) and atomic deletion with undo/redoShared geometry controls, atomic API, all-six forwarding and Chrome editing tests; core corpus: 12 admitted master instances across four files, 59 refusals from 71 scannedNative Visio 16.0, 2026-10-29: 23 passing edit cases (plus 3 deliberate core refusals) on the Visio-authored full reference document and 22 on the flat one open without repair, read back equal and recompute equal (master-instance move, resize, format and arrange; glued-shape move and resize with connector follow; glued-line duplicate and delete; geometry, group, multi-selection, container). Master delete, group edits beyond rotation and resize, connector layouts outside the recorded walking-glue subset, unsupported package dependencies, rich text and pixel fidelity remain unsupported or unverified
Native save and round-tripSave editable VSDX preserving unknown partsExperimental local VSDX copy export for admitted text, geometry, formatting and ordering editsCore atomic preservation, dependency and independent safety tests; worker-isolated edits, bounded history and explicit downloaded copies. Signed and macro packages are rejectedGeneral writer, rich text and general native fidelity; native Visio 16.0 reopen, formula recalculation and save-as-copy pass for the recorded edit families on 2026-10-29 (verification record); delete freezes cells that read a deleted shape like Visio (native-delete-*.json)
Export and printSVG, images, PDF and print layoutPartial: SVG export and bounded immutable print artifactsShared export/snapshot APIs, all-six handle tests, four-page real snapshot and raster pixel testsPrint frames/dialogs, saved printer/layer settings, PNG/PDF output, embedded fonts and native comparison
Legacy and other Visio formatsVSD, VDX, stencils, templates, macrosBounded binary VSD v11 preview through ole2Byte-signature dispatch; explicit page/shape transforms, move/line geometry and plain text with diagnosed fallback styles. Legacy source is retained, with VSDX editing/export disabled.Older binary versions, groups/masters, rich formatting, complex geometry, native Visio fidelity, VDX, stencils, templates and macros
Collaboration and commentsShared editing with durable statePartial: File > Share starts a live session (ooxml-core/collab, Yjs) between windows of this browser over BroadcastChannel, and a host sets the collaboration property to share across devices through its own y-websocket server, provider, Yjs session or WebRTC. Pages, shapes (down to cells, rows and sections), connectors, masters and pictures merge item by item (ooxml-core/visio/collab); other package parts are shared whole, last write wins per part. Undo and redo act on this window's edits only. Live cursors and selections, authToken, and owner write-back (onWriteBack) exist; collaborators show with the shared ooxml-ui presence elementcore collab/mapping.test.ts and collab/session.test.ts; viewer-share.test.ts, viewer-collaboration.test.ts, viewer-presence.test.ts; viewer-write-back.tsA hosted server (bring your own), merging inside one shape (two edits of one cell keep one value), incremental parsing of remote changes, threaded and live comments (comments are saved in the file; see above), roles beyond advisory (a server must enforce them). See collaboration.md
Visio visual parityMeasured equivalence on real documentsNot established; real corpus under comparison19 upstream drawings import; secondary embedded-thumbnail comparisons reveal gapsFull reference renders, fonts/settings, measured fidelity and manual review
Corner roundingRounded contiguous geometryPartial: closed axis-aligned rectangles and native-observed clamped open orthogonal pathsAnalytic regressions; nine Visio 16 native cases; five 60973 rectangles and seven connectors (18 cached corners)General polygon, compressed PolylineTo and mixed/curved path rounding; live rerouting and broader native visual comparison
Drawing/page scalesNative physical page and drawing unitsPartial: page and shape geometry normalized; pointer insertion converts back to drawing inchesCore page-scale.test.ts; UI page-scale.test.ts; six native Visio pagesBroader native group/image/background corpus; native editing dependency closure; browser pixels

Evidence required ​

  1. Genuine Visio-authored documents and a representative compatibility corpus.
  2. Versioned Visio reference renders with fonts/page settings.
  3. Measured geometry, text, connector and style comparisons.
  4. End-to-end edit, save and reopen tests in Microsoft Visio.
  5. Unknown XML part and relationship preservation.
  6. Cross-framework/browser interaction and accessibility tests.

Warnings are useful but not comprehensive. Absence of diagnostics is not a fidelity guarantee.

References ​

Created charts as master instances, 2026-10-31 ​

  • Instances of Visio's hidden masters. create-swimlanes (File > New starters and the Insert swimlane commands) now adds CFF Container, Swimlane List, Phase List, Swimlane and Separator to the drawing (hidden, MasterType 34, cff-author.ts) and every edit that touches a cross-functional page stamps the frame, lists, lanes and separators with those masters (edit-swimlane-stamp.ts), including lanes and separators inserted later. The page is related to each master it uses.
  • Why the page relationship matters. Found with Visio 16 through COM: an instance of a master the page has no relationship to is silently dropped when Visio loads the page (the whole chart vanished). Bisected over fifteen variants of the masters part, entry, IDs, names and instance cells; only the page relationship mattered. edit-master-instance.ts already did this for stencil drops.
  • Verified with Visio 16 (COM, read-only). Both starters open without repair; the masters are listed hidden; shapes are named CFF Container.50, Swimlane List.51, Swimlane.10, each with the master; the container reports the two lists as members, the Swimlane List reports the lanes in order, and User.numLanes, visCFFStyle, CFFVertical and msvSDListDirection read back.
  • How the editor treats them. The masters are authored here, not copied from Visio: they hold Visio's names and the structure User rows, but none of its formulas, geometry or heading sub-shapes. Every instance keeps all its cells, so the existing plain-shape edit paths are unchanged: the stamp is lifted when a transaction loads the pages and put back before they are saved, and the masters this package wrote answer no role to the Visio-built-chart paths (CffMasterSet.roleOf), so only authoredId and authoredPart see them.
  • Still open. Visio's own add-in (Insert Swimlane, drop handling) acting on a chart the editor built was not exercised: it needs Visio's UI, which is not driven here, and the authored masters lack the formulas that add-in may rely on. Charts saved before this change gain the masters only when they are re-created. Phases (Insert Phase), options (title, style, labels) and Direction of a chart Visio built are still refused, as before.

Phases and chart options, 2026-10-31 ​

  • Insert Separator on a chart Visio built. The new separator is a copy of the one whose phase it lands in (new IDs and GUIDs, same master, same Relationships to the Phase List) and takes the part of that phase up to the drop point; the separator that was there keeps the rest. The Phase List names them in order, new first. The copy came from watching Visio 16: with Application.EventsEnabled set, dropping a Separator master through COM makes the Cross-Functional add-in (CFF14, /cmd=20001) lay the Phase List out, and the saved files are in __fixtures__/cross-functional-native-*.vsdx. Phases are edge to edge, each as wide as its phase with the dividing line at its right edge; only the first carries FirstHeadingExtend over the lane headings. edit-swimlane-cff.test.ts replays the drop and every cell Visio changed matches (the one difference is the theme fill the drop took). Without a drop point the widest phase is split in the middle; a phase never gets narrower than 0.4 in.
  • Options. Style, Show Title Bar, Show Separator Bar and Rotate Lane Labels set Visio's own cells (visCFFStyle, visShowTitle, visShowPhase on the frame, visRotateLabel on the Swimlane List, as plain numbers) and the instances are recalculated from the masters' formulas. cff-recalc.ts now resolves CONTAINERSHEETREF(...)! and LISTSHEETREF()! through the shape's relationships, reads INT(INDEX(n,"a;b;c")) and takes a part's themed LineWeight from its group, which is what reproduces the style cascade. Compared with Visio's saved files for each option: style, phase headings and the phase insert match every cell; the title bar and rotated labels match except heading caches that hold a measured text height (visHeadingHeight) and one arc parameter.
  • Geometry as Visio's formulas do it. Hiding the title bar lowers the frame's top by the bar and nothing else moves; hiding the phase headings raises the lanes (and their shapes), the lists and the separators under the frame's top by the band and shrinks the frame and Phase List from below. The Phase List and separators of a native chart keep standing one band above the lanes and the Phase List keeps starting after the lane headings when lanes are inserted, deleted or resized (before, relayout flattened both). The planner treats a frame without this editor's marker row as Visio's (swimlane.native).
  • Editor-made charts. The same commands work and now write the flowchart rows as plain numbers, and the Swimlane List carries visRotateLabel.
  • Verified with Visio 16 (COM). A Visio chart with three phases, a style, rotated labels and both bars hidden opens without repair; the Phase List reports its separators in order, the container its two lists, and visCFFStyle, visShowTitle and visShowPhase read back. An editor-made starter with two named phases, a style and the title hidden opens too and reports the phases in order.
  • Still open. Direction of a chart Visio built stays refused: Visio swaps in "Swimlane (vertical)" and "Separator (vertical)" masters (the add-in's USE("Swimlane (vertical)")) that this editor does not copy, and setting the list direction cells alone only scrambles the lanes (tried through COM). Phases, title bar and phase headings of a vertical chart Visio built are refused too: no Visio-made vertical chart was available to confirm the list layout. The title and phase-heading geometry was taken from Visio's formula cascade after setting the cells, not from the ribbon command, whose Direction/Orientation dialog hangs an automated Visio (one instance was left waiting on it). Measured-text caches are not recomputed.

Released under the Apache-2.0 License.