Skip to main content
Version: 0.4.1

Context map

  • Shows: An ecosystem's bounded contexts, which depends on which, and the patterns between them.
  • Drawn for: an ecosystem, one view each.
  • In the viewer's picker: under Context maps.
  • As a file: kq svg --context-map <path>, and kq png the same way.

Reading it​

An ecosystem's bounded contexts, one box each, and a line between two wherever something crosses between them. How the map is read from the model, and how a pattern is stated, is in The context map.

  • Boxes: each context's name, where it is marked, its subdomain type, its terms and how many members it has. Its outline is colored by its subdomain type. A context in another ecosystem that a line reaches is drawn too, naming its ecosystem, and the components and monoliths in no context are gathered in one Unmapped box.
  • Placement: upstream above downstream, and partners side by side.
  • Lines: straight, with no arrowhead. U and D stand by the upstream and the downstream ends, the patterns stated at each end beside it, and a partnership, a shared kernel or separate ways mid-line. A line with nothing stated reads unstated.
The diagram in words

Meridian Rail · Context map

Contexts

  • Roster planning (Module of Crew Rostering): 2 components
  • Customer (Domain · Generic): 2 components, terms: Traveller, Enquiry, Attachment
  • Maintenance management (Component · Supporting): 1 component, terms: Vehicle
  • Operations (Platform): 5 components, terms: Timetable, Station, Train position, Vehicle
  • Retail channels (Platform): 4 components, terms: Station, Agency, Basket, Session
  • Ticketing (Platform · Core): 1 component, terms: Fare
  • TIX (Monolith · COTS · Core): big ball of mud, 1 monolith, terms: Booking, Fare
  • Unmapped (In no context): 19 components, 1 monolith

Lines

  • Roster planning → Unmapped: upstream to downstream, unstated
  • Operations → Roster planning: upstream to downstream, upstream S, downstream C
  • Unmapped → Roster planning: upstream to downstream, unstated
  • Unmapped → Customer: upstream to downstream, unstated
  • Maintenance management → Unmapped: upstream to downstream, downstream ACL
  • Retail channels → Unmapped: upstream to downstream, upstream OHS, PL
  • Unmapped → Retail channels: upstream to downstream, unstated
  • Ticketing → Retail channels: upstream to downstream, upstream S, downstream C
  • TIX → Retail channels: upstream to downstream, downstream ACL
  • Customer → Retail channels: partners, upstream CF, downstream ACL, SK
  • Operations → Retail channels: upstream to downstream, upstream S, downstream C
  • TIX → Unmapped: upstream to downstream, unstated
  • Unmapped → TIX: upstream to downstream, unstated
  • Unmapped → Operations: upstream to downstream, upstream OHS, PL
  • Unmapped → Maintenance management: upstream to downstream, unstated
  • Maintenance management → Operations: partners, P
  • Operations → Unmapped: upstream to downstream, unstated
  • TIX → Ticketing: upstream to downstream, unstated

It draws one plateau, with no transition. Selecting a box or a line brings it forward and dims the rest, and the Information pane shows the context, or for a line each crossing it is read from. Nothing collapses. Ctrl+click (Cmd+click on a Mac) a box to open its domain's layered view with the contexts switch on. The legend's section The context map's outlines and patterns spells out every abbreviation.

© 2026 Extenza Works. All rights reserved.