bounded-context-canvas icon indicating copy to clipboard operation
bounded-context-canvas copied to clipboard

Visualisation of bounded context

Open selketjah opened this issue 2 years ago • 7 comments
trafficstars

Right now, we are using clouds to visualize a bounded context. We say it is an explicit boundary, but clouds represent fuzziness.

I started using squircles (rectangle with round corners) to represent BC's because I feel this fits better with what a bounded context is. (well defined, but at the boundaries still a bit rounded sometimes) Any objections to this change?

selketjah avatar Dec 08 '22 11:12 selketjah

It's a fair question, and I would say anyone is free to use whatever notation they prefer as there is no standard.

With this canvas and message flow modelling I'm using the cloud because I think it looks good visually, I also use it to arbitrarily to represent subdomain / microservice / component / bounded context whatever terminology a particular client uses to describe their org/arch (in truth I don't even use the bounded context terminology anymore).

Regarding the main point here: should we update the documentation in this repo to use rounded rectangles instead of clouds? Personally I don't mind either way. Unless anyone thinks it's a bad idea then I would say go ahead and do it.

NTCoding avatar Dec 10 '22 13:12 NTCoding

I have a hard time to give an opinion without seeing your version, @selketjah. Could you add a picture here, please?

yellowbrickc avatar Dec 17 '22 20:12 yellowbrickc

To be honest. I intuitively think of external system or cloud when seeing a cloud widget. So I aggree with @selketjah. Personallly I would just draw an elipsis to reperesent a bounded context :-)

cjjohansen avatar Feb 09 '23 14:02 cjjohansen

I also tend to agree with @selketjah.

Maybe have some dashed border as an fence analogy:

image

AlexZeitler avatar Feb 09 '23 16:02 AlexZeitler

I have a hard time to give an opinion without seeing your version, @selketjah. Could you add a picture here, please?

Screenshot 2023-02-10 at 08 14 50

selketjah avatar Feb 10 '23 07:02 selketjah

Now I can see what you mean, thanks, @selketjah! I am so used to the cloud icon (and I like that it has a lot of touchpoints on all sides), that I have no clue if "it is better or worse", but I am surely not against your proposal. Like @NTCoding said, "Unless anyone thinks it's a bad idea, then I would say go ahead and do it." 👍

yellowbrickc avatar Feb 12 '23 13:02 yellowbrickc

Looks pretty good to me, even nicer than the clouds. So from a visual perspective, it's a winner. In this form, I don't think it looks like too formal, either.

The argument that people associate a cloud with software running in the cloud was also something that made me see things a bit differently.

Well done @selketjah, and good luck with your homework 😆.

NTCoding avatar Feb 12 '23 13:02 NTCoding