   firstWidth = 2*symbol.alignToGrid(firstWidth/2, 'ceil')
   secondWidth = 2*symbol.alignToGrid(secondWidth/2, 'ceil')
   width = firstWidth + secondWidth
+
+  if element.parts?
+    symbol
+      .attribute 'name',
+        x: -width/2 - settings.space.attribute
+        y: 0
+        halign: 'right'
+        valign: 'bottom'
+        orientation: 'vertical'
+  else
+    symbol
+      .attribute 'name',
+        x: 0
+        y: height + settings.space.attribute
+        halign: 'center'
+        valign: 'top'
 
   # Box
   symbol

  space = settings.space.default

  pins = element.pins
  numbers = Object.keys pins

  # Attributes
  symbol

      valign: 'bottom'

  height = pitch*(numbers.length + 1)

  firstText = 'Цепь'
  firstWidth = 30
