System Context view

A system context view is a good starting point for diagramming and documenting a software system, allowing you to step back and see the big picture. It shows the software system in the centre, surrounded by its users and the other systems that it interacts with.

workspace {

    model {
        u = person "User"
        s = softwareSystem "Software System"

        u -> s "Uses"

    views {
        systemContext s {
            include *
            autoLayout lr

This DSL defines a system context view for the software system s, and include * includes all model elements that have a direct relationship with it.

System context views can be rendered using the Structurizr cloud service/on-premises installation or exported to a number of other formats via the Structurizr CLI export command.