# Diagram

Published articles for Diagram.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Bending, Yanking, and Cartesian Squares in Double Categories

DevFeed: [Bending, Yanking, and Cartesian Squares in Double Categories](<https://devfeed.tech/articles/bending-yanking-and-cartesian-squares-in-double-categories-28857.md>)

Original publisher: [Read original article](<https://bartoszmilewski.com/2026/05/18/bending-yanking-and-cartesian-squares-in-double-categories/>)

Author: Bartosz Milewski

Published: 2026-05-19T06:54:15Z

Content type: article

Language: en

Sources: [Bartosz Milewski's Programming Cafe](<https://devfeed.tech/sources/bartosz-milewski-s-programming-cafe.md>)

Topics: [Category Theory](<https://devfeed.tech/topics/category-theory.md>), [Profunctor Equipment](<https://devfeed.tech/topics/profunctor-equipment.md>), [String Diagrams](<https://devfeed.tech/topics/string-diagrams.md>)

Tags: [category-theory](<https://devfeed.tech/tags/category-theory.md>), [diagram](<https://devfeed.tech/tags/diagram.md>), [double-categories](<https://devfeed.tech/tags/double-categories.md>), [proarrow-equipment](<https://devfeed.tech/tags/proarrow-equipment.md>), [profunctor-equipment](<https://devfeed.tech/tags/profunctor-equipment.md>), [profunctors](<https://devfeed.tech/tags/profunctors.md>), [string-diagrams](<https://devfeed.tech/tags/string-diagrams.md>)

### AI overview

This article explains how string-diagram manipulations in double categories and proarrow equipment support yanking identities and the spider lemma, then introduces Cartesian squares as a universal construction in category theory.

### Source excerpt

Previously: Profunctor Equipment in Haskell. The major advantage of string diagrams is that they provide surprisingly natural language for complex diagram manipulations. The fact that two traditional diagrams are equal can be often described as a permission to bend, yank, or pinch strings in particular ways. They provide visual and often tactile clues to our [...]

## What Happens to an SQL Query?

DevFeed: [What Happens to an SQL Query?](<https://devfeed.tech/articles/what-happens-to-an-sql-query-34693.md>)

Original publisher: [Read original article](<https://newsletter.systemdesigncodex.com/p/what-happens-to-an-sql-query>)

Author: Saurabh Dashora

Published: 2026-03-04T03:14:28Z

Content type: tutorial

Language: en

Sources: [System Design Codex](<https://devfeed.tech/sources/system-design-codex.md>)

Topics: [SQL](<https://devfeed.tech/topics/sql.md>), [Databases](<https://devfeed.tech/topics/databases.md>), [Parser](<https://devfeed.tech/topics/parser.md>), [syntax](<https://devfeed.tech/topics/syntax.md>)

Tags: [database](<https://devfeed.tech/tags/database.md>), [diagram](<https://devfeed.tech/tags/diagram.md>), [errors](<https://devfeed.tech/tags/errors.md>), [execution](<https://devfeed.tech/tags/execution.md>), [locks](<https://devfeed.tech/tags/locks.md>), [rollback](<https://devfeed.tech/tags/rollback.md>), [sql](<https://devfeed.tech/tags/sql.md>), [syntax](<https://devfeed.tech/tags/syntax.md>)

### AI overview

This tutorial explains how an SQL query moves through a database. It covers transport and access checks, parsing and optimization into an execution plan, execution through the storage engine, and supporting components such as transactions, locks, buffering, and recovery.

### Source excerpt

The Journey Through the DB

## Interactive versionable architecture diagrams

DevFeed: [Interactive versionable architecture diagrams](<https://devfeed.tech/articles/interactive-versionable-architecture-diagrams-28707.md>)

Original publisher: [Read original article](<https://jeroenmols.com/blog/2023/06/09/interactive-architecture-diagram/>)

Author: info@jeroenmols.com (Jeroen Mols)

Published: 2023-06-09T00:00:00Z

Content type: tutorial

Language: en

Sources: [Jeroen Mols](<https://devfeed.tech/sources/jeroen-mols.md>)

Topics: [Graphs](<https://devfeed.tech/topics/graphs.md>), [SVG](<https://devfeed.tech/topics/svg.md>), [HTML](<https://devfeed.tech/topics/html.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>)

Tags: [architecture](<https://devfeed.tech/tags/architecture.md>), [blogs](<https://devfeed.tech/tags/blogs.md>), [diagram](<https://devfeed.tech/tags/diagram.md>), [git](<https://devfeed.tech/tags/git.md>), [graphviz](<https://devfeed.tech/tags/graphviz.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [html](<https://devfeed.tech/tags/html.md>), [svg](<https://devfeed.tech/tags/svg.md>), [visualization](<https://devfeed.tech/tags/visualization.md>)

### AI overview

A tutorial on generating interactive, versionable system architecture diagrams with Graphviz, exporting them as SVG, and embedding the SVG directly in HTML so diagram elements can link to the hosting page.

### Source excerpt

Tired of building un-versionable, lifeless architecture diagrams? Wouldn't it be great if you could add your diagram to Git, embed it in your documentation, and have clickable elements?

## Five Threat Model Diagrams for Machine Learning

DevFeed: [Five Threat Model Diagrams for Machine Learning](<https://devfeed.tech/articles/five-threat-model-diagrams-for-machine-learning-36796.md>)

Original publisher: [Read original article](<https://shostack.org/blog/five-threat-model-diagrams-for-ml/>)

Author: Adam

Published: 2023-04-13T00:00:00Z

Content type: opinion

Language: en

Sources: [Shostack & Friends Blog](<https://devfeed.tech/sources/shostack-friends-blog.md>)

Topics: [Machine Learning, Security Attacks](<https://devfeed.tech/topics/machine-learning-security-attacks.md>), [Machine Learning & Artificial Intelligence](<https://devfeed.tech/topics/machine-learning-artificial-intelligence.md>), [Training AI Models](<https://devfeed.tech/topics/training-ai-models.md>), [Data Quality](<https://devfeed.tech/topics/data-quality.md>), [data](<https://devfeed.tech/topics/data.md>)

Tags: [ai-and-cybersecurity](<https://devfeed.tech/tags/ai-and-cybersecurity.md>), [cybersecurity](<https://devfeed.tech/tags/cybersecurity.md>), [data-quality](<https://devfeed.tech/tags/data-quality.md>), [diagram](<https://devfeed.tech/tags/diagram.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [training-data](<https://devfeed.tech/tags/training-data.md>)

### AI overview

This article presents five threat-model diagrams for machine learning systems. The diagrams distinguish threats to and from ML systems, illustrate data flows and responses, and examine how training-data sources and system-design decisions can create risks. The author emphasizes that the diagrams are illustrative rather than complete and notes uncertainty about the model of how Twitter content reached Microsoft's Tay.

### Source excerpt

Some diagrams to help clarify machine learning threats

## Threat Modeling Google Cloud (Threat Model Thursday)

DevFeed: [Threat Modeling Google Cloud (Threat Model Thursday)](<https://devfeed.tech/articles/threat-modeling-google-cloud-threat-model-thursday-37037.md>)

Original publisher: [Read original article](<https://shostack.org/blog/threat-modeling-google-cloud/>)

Author: Adam

Published: 2023-03-01T00:00:00Z

Content type: opinion

Language: en

Sources: [Shostack & Friends Blog](<https://devfeed.tech/sources/shostack-friends-blog.md>)

Topics: [Google Cloud Platform (GCP)](<https://devfeed.tech/topics/google-cloud.md>), [Security](<https://devfeed.tech/topics/security.md>), [Google](<https://devfeed.tech/topics/google.md>), [Architecture & Design](<https://devfeed.tech/topics/architecture-design.md>)

Tags: [assets](<https://devfeed.tech/tags/assets.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [cloud-platform](<https://devfeed.tech/tags/cloud-platform.md>), [data](<https://devfeed.tech/tags/data.md>), [diagram](<https://devfeed.tech/tags/diagram.md>), [google](<https://devfeed.tech/tags/google.md>), [google-cloud](<https://devfeed.tech/tags/google-cloud.md>), [google-cloud-platform](<https://devfeed.tech/tags/google-cloud-platform.md>), [processes](<https://devfeed.tech/tags/processes.md>), [security](<https://devfeed.tech/tags/security.md>)

### AI overview

The article reviews NCC's threat model for Google Cloud Platform, examining its methodology, diagrams, assets, boundaries, threat actors, attack goals, weaknesses, and potential threats. It offers constructive observations about the model's organization, readability, and use of STRIDE-related categories.

### Source excerpt

NCC has released a threat model for Google Cloud Platform. What can it teach us?

## Breaking down Krypton

DevFeed: [Breaking down Krypton](<https://devfeed.tech/articles/breaking-down-krypton-37246.md>)

Original publisher: [Read original article](<https://muffinman.io/blog/breaking-down-krypton/>)

Author: Stanko

Published: 2022-03-01T00:00:00Z

Content type: article

Language: en

Sources: [Stanko Tadić](<https://devfeed.tech/sources/stanko-tadic.md>)

Topics: [generative art](<https://devfeed.tech/topics/generative-art.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Tooling](<https://devfeed.tech/topics/tooling.md>), [browser](<https://devfeed.tech/topics/browser.md>)

Tags: [ascii](<https://devfeed.tech/tags/ascii.md>), [browser](<https://devfeed.tech/tags/browser.md>), [diagram](<https://devfeed.tech/tags/diagram.md>), [generative-art](<https://devfeed.tech/tags/generative-art.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [tooling](<https://devfeed.tech/tags/tooling.md>)

### AI overview

This article breaks down how "Krypton," a generative artwork, was created. It discusses the author's JavaScript, p5.js, and custom tooling, including parameter controls, browser-history-based iteration, and the use of Voronoi diagrams to generate the drawing.

### Source excerpt

This post was originally written for our internal technology newsletter at Work & Co. It is a little bit adapted for web, but the content is almost identical. About a year ago I made this plot. It is called "Krypton"Named by a dear friend and ex-colleague, and I'll try to break down how it was made. The wonderful thing about generative art is that code is just a tool. Thing that really matters is the actual artwork. In this specific case, code is straightforward and relatively simple. But it produces drawings that, in my opinion, look visually pleasing and have a nice sense of depth to them. Tooling # For all of my generative work, I use plain JavaScript, p5.js and a couple of custom-made tools. These tools are often crude, but they do exactly what I want so I don't mind. With each new project I keep adding more features and polishing them. At some point these tools may reach the point where they are presentable. If that happens I'll gladly share them with the world and open source everything. This is how the interface looks. I have an easy way to add controls for image parameters. These controls allow me to tweak drawings with a short feedback loop. Each time a parameter is changed, the image is redrawn and the parameter is reflected in the URL. This allows me to go through iterations using the browser history. To make navigation through the history easier, for each unique combination of parameters, I generate a random color and ASCII face. That is why my browser history looks like this :) Voronoi diagram # I use Voronoi diagrams a lot in my drawings. So much, that I'm sometimes trying to avoid them, to make sure I'm not limiting myself to a single algorithm. Voronoi diagram takes a collection of points, and then partitions a plane into polygons, where each polygon's edge is right in the middle of two points. It sounds like a lot, but if you study this image, it should become clearer. For a more detailed explanation you can check out the article on Wikipedia. Gener

## AWS IAM in layman's terms

DevFeed: [AWS IAM in layman's terms](<https://devfeed.tech/articles/aws-iam-in-layman-s-terms-29585.md>)

Original publisher: [Read original article](<https://goteleport.com/blog/aws-iam-in-laymans-terms/>)

Author: info@goteleport.com (Shuo Yang)

Published: 2021-06-16T00:00:00Z

Content type: tutorial

Language: en

Sources: [Teleport](<https://devfeed.tech/sources/teleport.md>)

Topics: [AWS Identity and Access Management (IAM)](<https://devfeed.tech/topics/aws-identity-and-access-management-iam.md>), [IAM](<https://devfeed.tech/topics/iam.md>), [Access Control](<https://devfeed.tech/topics/access-control.md>), [Authorization](<https://devfeed.tech/topics/authorization.md>), [Development](<https://devfeed.tech/topics/development.md>), [Security](<https://devfeed.tech/topics/security.md>), [Infrastructure as code](<https://devfeed.tech/topics/infrastructure-as-code.md>)

Tags: [access-control](<https://devfeed.tech/tags/access-control.md>), [aws-iam](<https://devfeed.tech/tags/aws-iam.md>), [development](<https://devfeed.tech/tags/development.md>), [diagram](<https://devfeed.tech/tags/diagram.md>), [figure](<https://devfeed.tech/tags/figure.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [iam](<https://devfeed.tech/tags/iam.md>), [infrastructure-as-code-iac](<https://devfeed.tech/tags/infrastructure-as-code-iac.md>), [policy](<https://devfeed.tech/tags/policy.md>), [security](<https://devfeed.tech/tags/security.md>)

### AI overview

This tutorial explains AWS IAM roles, STS, identity pools, and IAM policy mechanisms. It focuses on separating access-control responsibilities between central security or platform teams and individual application development teams, including the interaction between permission boundaries and identity-based policies.

### Source excerpt

Learn how to leverage the right AWS IAM policy mechanisms to build responsibility separation between a central platform team and individual development teams.

## Threat Model Thursday: Data Flow Diagrams

DevFeed: [Threat Model Thursday: Data Flow Diagrams](<https://devfeed.tech/articles/threat-model-thursday-data-flow-diagrams-37074.md>)

Original publisher: [Read original article](<https://shostack.org/blog/tmt-data-flow-diagrams/>)

Author: Adam

Published: 2020-04-23T00:00:00Z

Content type: opinion

Language: en

Sources: [Shostack & Friends Blog](<https://devfeed.tech/sources/shostack-friends-blog.md>)

Topics: [Security](<https://devfeed.tech/topics/security.md>), [trust](<https://devfeed.tech/topics/trust.md>), [Architecture & Design](<https://devfeed.tech/topics/architecture-design.md>), [data](<https://devfeed.tech/topics/data.md>)

Tags: [academic](<https://devfeed.tech/tags/academic.md>), [diagram](<https://devfeed.tech/tags/diagram.md>), [paper](<https://devfeed.tech/tags/paper.md>), [security](<https://devfeed.tech/tags/security.md>), [software-engineering](<https://devfeed.tech/tags/software-engineering.md>), [trust](<https://devfeed.tech/tags/trust.md>)

### AI overview

The article discusses an academic paper on whether data flow diagrams are sufficient for security threat modeling. It reviews the paper's treatment of diagram strengths, weaknesses, effort tradeoffs, and three meanings of a trust boundary, then proposes a fourth meaning: separation of principals by a controlling mechanism.

### Source excerpt

This week's threat model Thursday looks at an academic paper, Security Threat Modeling: Are Data Flow Diagrams Enough? by Laurens Sion and colleagues.

## Threat Model Thursdays: Crispin Cowan

DevFeed: [Threat Model Thursdays: Crispin Cowan](<https://devfeed.tech/articles/threat-model-thursdays-crispin-cowan-37073.md>)

Original publisher: [Read original article](<https://shostack.org/blog/tmt-crispin-cowan/>)

Author: Adam

Published: 2018-07-05T00:00:00Z

Content type: opinion

Language: en

Sources: [Shostack & Friends Blog](<https://devfeed.tech/sources/shostack-friends-blog.md>)

Topics: [Security](<https://devfeed.tech/topics/security.md>), [Vulnerabilities](<https://devfeed.tech/topics/vulnerabilities.md>), [Architecture & Design](<https://devfeed.tech/topics/architecture-design.md>)

Tags: [diagram](<https://devfeed.tech/tags/diagram.md>), [discussion](<https://devfeed.tech/tags/discussion.md>), [security](<https://devfeed.tech/tags/security.md>), [trust](<https://devfeed.tech/tags/trust.md>), [vulnerabilities](<https://devfeed.tech/tags/vulnerabilities.md>)

### AI overview

The article reviews Crispin Cowan's threat-modeling approach, focusing on precise definitions of security principals, attack surfaces, trust boundaries, and security boundaries. It also discusses identifying system connections, assessing complexity, prioritizing mitigations, and documenting threat models.

### Source excerpt

[no description provided]

## Threat Model Thursday: Synopsys

DevFeed: [Threat Model Thursday: Synopsys](<https://devfeed.tech/articles/threat-model-thursday-synopsys-37083.md>)

Original publisher: [Read original article](<https://shostack.org/blog/tmt-synopsys/>)

Author: Adam

Published: 2018-03-22T00:00:00Z

Content type: opinion

Language: en

Sources: [Shostack & Friends Blog](<https://devfeed.tech/sources/shostack-friends-blog.md>)

Topics: [Development](<https://devfeed.tech/topics/development.md>), [trust](<https://devfeed.tech/topics/trust.md>), [Internet](<https://devfeed.tech/topics/internet.md>)

Tags: [developer](<https://devfeed.tech/tags/developer.md>), [development](<https://devfeed.tech/tags/development.md>), [diagram](<https://devfeed.tech/tags/diagram.md>), [internet](<https://devfeed.tech/tags/internet.md>), [series](<https://devfeed.tech/tags/series.md>)

### AI overview

This commentary launches a series examining published sample threat models. It reviews Synopsys's threat-model guidance, focusing on scoping, understanding the system and its components, and how consulting-oriented practices may differ from threat modeling integrated into development.

### Source excerpt

[no description provided]

## Jonathan Marcil's Threat Modeling Toolkit talk

DevFeed: [Jonathan Marcil's Threat Modeling Toolkit talk](<https://devfeed.tech/articles/jonathan-marcil-s-threat-modeling-toolkit-talk-36857.md>)

Original publisher: [Read original article](<https://shostack.org/blog/jonathan-marcils-threat-modeling-toolkit-talk/>)

Author: Adam

Published: 2018-01-30T00:00:00Z

Content type: article

Language: en

Sources: [Shostack & Friends Blog](<https://devfeed.tech/sources/shostack-friends-blog.md>)

Topics: [Application Security](<https://devfeed.tech/topics/application-security.md>), [Security](<https://devfeed.tech/topics/security.md>), [Architecture & Design](<https://devfeed.tech/topics/architecture-design.md>), [plantuml](<https://devfeed.tech/topics/plantuml.md>), [version-control](<https://devfeed.tech/topics/version-control.md>), [trust](<https://devfeed.tech/topics/trust.md>)

Tags: [appsec](<https://devfeed.tech/tags/appsec.md>), [blog](<https://devfeed.tech/tags/blog.md>), [diagram](<https://devfeed.tech/tags/diagram.md>), [github](<https://devfeed.tech/tags/github.md>), [plantuml](<https://devfeed.tech/tags/plantuml.md>), [requirements](<https://devfeed.tech/tags/requirements.md>), [security](<https://devfeed.tech/tags/security.md>), [talk](<https://devfeed.tech/tags/talk.md>), [trust](<https://devfeed.tech/tags/trust.md>), [version-control](<https://devfeed.tech/tags/version-control.md>)

### AI overview

A report on Jonathan Marcil's threat modeling toolkit talk, covering collaborative threat modeling, data flow diagrams, attack trees, controls checklists, and system models. The talk includes an Electrum example in which investigations driven by a system model found a real JSON-RPC vulnerability, and discusses using PlantUML and version control for attack trees.

### Source excerpt

[no description provided]

## Data Flow Diagrams 3.0

DevFeed: [Data Flow Diagrams 3.0](<https://devfeed.tech/articles/data-flow-diagrams-3-0-36754.md>)

Original publisher: [Read original article](<https://shostack.org/blog/data-flow-diagrams-3-0/>)

Author: Adam

Published: 2017-11-05T00:00:00Z

Content type: tutorial

Language: en

Sources: [Shostack & Friends Blog](<https://devfeed.tech/sources/shostack-friends-blog.md>)

Topics: [data](<https://devfeed.tech/topics/data.md>), [trust](<https://devfeed.tech/topics/trust.md>), [context](<https://devfeed.tech/topics/context.md>), [Processes](<https://devfeed.tech/topics/processes.md>)

Tags: [context](<https://devfeed.tech/tags/context.md>), [data](<https://devfeed.tech/tags/data.md>), [diagram](<https://devfeed.tech/tags/diagram.md>), [flow](<https://devfeed.tech/tags/flow.md>), [parallel](<https://devfeed.tech/tags/parallel.md>), [process](<https://devfeed.tech/tags/process.md>), [symbols](<https://devfeed.tech/tags/symbols.md>), [trust](<https://devfeed.tech/tags/trust.md>), [version](<https://devfeed.tech/tags/version.md>)

### AI overview

This article defines Data Flow Diagrams 3.0 as a named approach to threat-modeling diagrams. It explains its five symbols, trust boundaries, labeling rules, optional context diagrams, and guidance on color and arrow direction.

### Source excerpt

[no description provided]

## pg\_staging's bird view

DevFeed: [pg\_staging's bird view](<https://devfeed.tech/articles/pg-staging-s-bird-view-34357.md>)

Original publisher: [Read original article](<https://tapoueh.org/blog/2009/12/pg_stagings-bird-view/>)

Author: Dimitri Fontaine PostgreSQL Major Contributor; Author

Published: 2009-12-08T11:04:00Z

Content type: article

Language: en

Sources: [Dimitri Fontaine](<https://devfeed.tech/sources/dimitri-fontaine.md>)

Topics: [Emacs](<https://devfeed.tech/topics/emacs.md>), [Git](<https://devfeed.tech/topics/git.md>), [file](<https://devfeed.tech/topics/file.md>)

Tags: [command](<https://devfeed.tech/tags/command.md>), [diagram](<https://devfeed.tech/tags/diagram.md>), [emacs](<https://devfeed.tech/tags/emacs.md>), [git](<https://devfeed.tech/tags/git.md>), [repository](<https://devfeed.tech/tags/repository.md>)

### AI overview

A short post presents a bird's-eye diagram of how pgstaging is operated, created with ditaa and Emacs. The author committed the diagram's text source to a Git repository and used ImageMagick's crop command to remove excess white space without using a mouse.

### Source excerpt

One of the most important feedback I got about the presentation of pgstaging were the lack of pictures, something like a bird-view of how you operate it. Well, thanks to ditaa and Emacs picture-mode here it is: Hope you enjoy, it should not be necessary to comment much if I got to the point! Of course I commited the text source file to the Git repository. The only problem I ran into is that ditaa defaults to ouputing a quite big right margin containing only white pixels, and that didn't fit well, visually, in this blog. So I had to resort to ImageMagik crop command in order to avoid any mouse usage in the production of this diagram.