Skip to content

FreeFBM v1.0.7

Choose a tag to compare

@hidders hidders released this 19 May 16:21
· 48 commits to main since this release

What's new in v1.0.7

Notes

  • Sticky notes can be placed on diagrams — double-click to edit inline, click outside to commit
  • Draw note connectors (dotted lines) from a note to any diagram element via the new Note Connector tool
  • Add Subject / Remove Subject modes let you manage which elements a note refers to, with full-diagram dimming

Reference mode improvements

  • Implied value type and implied fact type now appear immediately in the schema browser as soon as a reference mode is typed — before any explicit expansion
  • Both appear in the standard Value Types and Fact Types lists with a small ref badge and no Delete button
  • The Add to this diagram button on the implied value type adds only that type; the button on the implied fact type adds the fact type together with the entity and value type
  • Implied types are flagged as orphaned when both they and their parent entity are absent from all diagrams
  • Expanded / collapsed state of a reference mode is now per-diagram: the same entity can be expanded in one diagram and collapsed in another
  • Removing an implied fact type or value type from a diagram automatically collapses the reference mode for that diagram
  • Positions of implied types (and all other elements) are remembered when removed from a diagram, so re-adding them restores their previous location
  • Reference mode field cleared to "none" now immediately deletes the implied types from the schema
  • Implied fact type readings are editable (previously read-only)

Schema browser — implied links

  • Implied links moved from their own section into the Fact Types list
  • Shown with a dashed-edge icon and a small link badge
  • Full reading displayed (matching the fact type rendering)

Inspector

  • Implied value type and implied fact type each show a ← EntityName back-link at the top of their inspector panel
  • Entity inspector shows Implied Fact Type and Implied Value Type navigation badges below the Reference Mode field

Clipboard & selection

  • Ctrl-A now also selects visible implied links
  • Copy / paste / duplicate correctly carry over shown implied links and expanded reference mode state
  • Paste and duplicate use the actual on-screen positions from the source diagram, preserving relative layout for all elements including reference mode types

Other fixes

  • Roles of implied fact types cannot be reconnected (role double-click and assignRole tool blocked)
  • "Change to Entity Type" grayed out for implied value types; "Nested Entity/Value Type" grayed out for implied fact types
  • Implied fact type added when expanding a reference mode whose value type is already in the diagram

Code quality

  • Extracted three shared helpers (mkRefExpansionPair, expansionIdsFor, diagramsWithPurgedExpansion) eliminating repeated inline code across expansion/deletion actions

Full Changelog: v1.0.6...v1.0.7