#building-block #hierarchy
您可以在一个相互的白盒中同时细化几个黑框。如果这些构建块密集地交互、合作或提供类似的接口,这可能会很有用。
您可以在下图中找到一个示例:在此图的左侧,您找到一个白盒( level-1 ),其中包含两个黑框Foo和Bar。
Both of these are refined in a single whitebox on the right side of the diagram. Consistently, all interfaces of level-1 are contained in level-2.
精制(级别)黑盒的来源由前缀给出。
小心应用此提示,因为它违反了通常在构建块视图中应用的干净分层分解。