← All stories
● Covered by 1 source · 1 reportLow impact1 neutral

TALA Autolayout Algorithm for Diagramming is Now Open-Source Under MPL-2.0 License

🔄 Updated 2h ago
New to BrevFeed? We gather this story from every outlet covering it into one summary — ranked by real-world impact, not just the latest headline — so you never miss what matters. What is BrevFeed? →

Key points

  • TALA is now open-source under the MPL-2.0 license.
  • It is an orthogonal layout engine for software architecture diagrams.
  • TALA blends graph-drawing research with original techniques for aesthetics.
  • It is bundled with D2 v0.9.0 and supports custom node positions.

TALA Released as Open-Source

Terrastruct's AutoLayout Algorithm (TALA), a specialized autolayout engine for software architecture diagrams, has been made open-source. The algorithm is now available under the Mozilla Public License 2.0 (MPL-2.0), the same license used by D2, a diagramming language.

Orthogonal Layout for Aesthetic Diagrams

TALA functions as an orthogonal layout engine, differing from common DAG-based algorithms that grow in one direction. It integrates concepts from various graph-drawing research papers and original techniques to produce aesthetically pleasing diagrams. The algorithm considers multiple aesthetic objectives, including symmetry, median distance, flow, and clustering of similar nodes.

Key Features and Customization

TALA allows for customization of node positions and sizes, enabling users to lock coordinates for specific nodes while the engine handles routing for others. This feature is particularly useful for scenarios where models generate 2D layouts but require assistance with connection routing. Examples demonstrate TALA's ability to combine user-specified coordinates with automatic layout for the remaining elements.

Trade-offs and Performance

TALA has certain trade-offs, including a degree of randomness in its algorithm, which can lead to different layouts when a single node is added. It may not perform as well for long, flowing directed acyclic graphs (DAGs) compared to alternatives like Dagre or ELK. Additionally, TALA's runtime can increase nonlinearly for larger diagrams. Benchmarks comparing TALA's performance to other algorithms are available on GitHub.

TALA is included in D2 v0.9.0; users can activate it by specifying "--layout=tala" when generating diagrams.

✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →

The daily brief

One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.

One email a day. Unsubscribe in one click, any time.

Today's brief

Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.

~8 min · 6 stories · Sep 07

▶ Play today's brief Listen on Spotify

New every morning, and the back catalogue is archived by date.

Reporting from

Terrastruct's AutoLayout Algorithm (TALA), an orthogonal layout engine for software architecture diagrams, has been released as open-source under the MPL-2.0 license. This makes TALA available for broader use and integration, offering a new option for diagram generation that prioritizes aesthetic qualities like symmetry and flow over traditional DAG-based layouts.