<feed xmlns='http://www.w3.org/2005/Atom'>
<title>design-it/source/app/app_canvas.cpp, branch v0.2.0</title>
<subtitle>handmade, ultra-fast software architecture &amp; UML diagram maker for Wayland (Vulkan SDF renderer, vim motions, hot reload)</subtitle>
<id>https://git.nsrddyn.com/design-it/atom/source/app/app_canvas.cpp?h=v0.2.0</id>
<link rel='self' href='https://git.nsrddyn.com/design-it/atom/source/app/app_canvas.cpp?h=v0.2.0'/>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/design-it/'/>
<updated>2026-11-28T00:07:59Z</updated>
<entry>
<title>docs, source links, copy/paste, png export, mermaid/plantuml, sequence diagrams, bends</title>
<updated>2026-11-28T00:07:59Z</updated>
<author>
<name>nasr</name>
<email>nsrddyn@gmail.com</email>
</author>
<published>2026-11-28T00:07:59Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/design-it/commit/?id=e4441d4efab8899d625c32355ecfeb23b7a14593'/>
<id>urn:sha1:e4441d4efab8899d625c32355ecfeb23b7a14593</id>
<content type='text'>
- documentation on nodes, edges and the diagram: multi-line doc editor (:doc,
  inspector, card, header mark), docs view, doc """ blocks in .dit.txt, docs in
  search, svg hover text
- source links: link="path:line" per node, repo/ref/root on the diagram,
  gx opens online (github/gitlab/gitea/bitbucket/templates), gf opens the file
  (DESIGN_IT_EDITOR for the line), :repo detect reads .git, the scanner links
  every type to its file:line
- copy / paste: yy p P x, Ctrl+C/V/X, dd yanks; the clipboard is .dit.txt text,
  system clipboard on wayland, x11, windows and macos; pasting mermaid or
  plantuml converts it
- png export: :export x.png [scale], any size in window sized tiles, own png
  encoder; --export=&lt;file&gt; for headless svg/mmd/md/puml/dit exports
- mermaid (class, flowchart, sequence, state, er) and plantuml (class style,
  sequence) import via :open / :import / paste, export via :export
- sequence diagrams: lifeline and actor nodes, -&gt;&gt; / --&gt;&gt; messages, drag along
  a lifeline to add, drag a message to reorder, :seq, :tpl sequence
- edge bends: drag segment dots to add, squares to move, double click to
  remove, orthogonal routing through bends, via= in .dit.txt, :straighten
- .dit binary v2 (v1 still loads), escaped strings in .dit.txt

Co-Authored-By: Claude Opus 5.5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>floating inspector: the inspector as a card next to the selection</title>
<updated>2026-11-27T22:14:18Z</updated>
<author>
<name>nasr</name>
<email>nsrddyn@gmail.com</email>
</author>
<published>2026-11-27T22:14:18Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/design-it/commit/?id=96d3b8e10f5055954569d1fc26a8e4dc9758562b'/>
<id>urn:sha1:96d3b8e10f5055954569d1fc26a8e4dc9758562b</id>
<content type='text'>
a small card anchored beside the selected node (or an edge's label) on the
canvas, so editing doesn't send the eyes and the keyboard focus to the other
side of the window. it reuses the Inspector's rows, cells, activate and
adjust, minus the panel only fields (border, geometry, collapsed, pinned,
ports), and edits inline in the row.

- mouse: one click edits a value, &lt; &gt; step a choice, + on a section adds a
  member, x on a member deletes it, the corner x closes it until the node is
  clicked again, clicking elsewhere keeps the typed text
- keys: enter on the canvas steps in (i still renames), j/k h/l enter a/A
  dd, esc / tab back, I toggles; setting "floating inspector"
- hides only once a drag really moves, and is placed again after the
  canvas handled input: the app redraws on input only, so a decision taken
  before the release stuck until the next mouse move
- no allocations, rows on the scratch arena

canvas fixes found while testing it:
- a click on a port without dragging made a self loop
- a port press now selects its node like a normal click
</content>
</entry>
<entry>
<title>initial commit</title>
<updated>2026-11-27T19:31:35Z</updated>
<author>
<name>nasr</name>
<email>nsrddyn@gmail.com</email>
</author>
<published>2026-11-27T17:17:07Z</published>
<link rel='alternate' type='text/html' href='https://git.nsrddyn.com/design-it/commit/?id=0a00bbf7bb37c3e831fca50d73c870ba0b387b27'/>
<id>urn:sha1:0a00bbf7bb37c3e831fca50d73c870ba0b387b27</id>
<content type='text'>
</content>
</entry>
</feed>
