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 compares how views are defined in LikeC4 and in Structurizr DSL. The model itself is not shown here. Open the example in the playground to see it.

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:


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:

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

Result:

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: