Skip to content

Big Bank Example

This is LikeC4 version of the Big Bank plc example by Simon Brown, based around a fictional online banking system.

It gives an overview of the LikeC4 syntax and how it compares to Structurizr DSL, what is similar and what is different.

System Landscape

The landscape view is a high-level overview of the system, showing the major systems and how they relate to each other. Structurizr uses the systemlandscape for this view.

There are no special view types in LikeC4.
Each view is defined by the predicates what to include/exclude, like include * below.

We create index view “of bigbank”, as this is the top-level system which landscape we want to visualize.

views {
view index of bigbank {
title "Big Bank - Landscape"
include *
}
}

Result:


System Context

views {
view context of bigbank {
title "Internet Banking System - SystemContext"
include
bigbank,
mainframe,
internetBankingSystem,
email,
customer
style * {
color secondary
}
style bigbank, internetBankingSystem {
color primary
}
}
}

Result:

Containers

views {
view ibsContainers of internetBankingSystem {
title "Internet Banking System - Containers"
include
*,
-> customer
}
}

Result:

Components

views {
view apiApp of internetBankingSystem.apiApplication {
title "API Application - Components"
include *
style * {
color muted
}
style singlePageApplication, mobileApp {
color secondary
}
style apiApplication, apiApplication.* {
color primary
}
}
}

Result:




We may visualize how customers interact with the system.

views {
view customer of customer {
include
*,
customer -> internetBankingSystem.*,
customer -> bigbank.*
exclude webApplication
style bigbank {
color muted
}
style customer {
color green
}
}
}

Structurizr does not have customer view.

Result: