.editor-RelNode-wrap,
.editor-DetailNode-wrap,
.editor-NormalNode-wrap,
.editor-CompNode-wrap {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  font-size: 12px;
  border-radius: 6px;
}
.editor-DetailNode-wrap,
.editor-NormalNode-wrap,
.editor-CompNode-wrap {
  cursor: pointer;
}
.editor-RelNode-wrap {
  color: #fff;
  justify-content: center;
  text-align: center;
  line-height: 16px;
}
.editor-RelNode-over-wrap {
  border-radius: 0 !important;
}
.editor-RelNode-over-wrap::after,
.editor-RelNode-over-wrap::before {
  height: 6px;
  width: 100%;
  content: '';
  position: absolute;
  background: #997DD4;
}
.editor-RelNode-over-wrap::before {
  top: -6px;
  border-radius: 6px 6px 0 0;
}
.editor-RelNode-over-wrap::after {
  bottom: -6px;
  border-radius: 0 0 6px 6px;
}
.editor-CompNode-wrap {
  padding: 6px;
  background: #f2f6fa;
}
.editor-CompNode-wrap .icon {
  display: flex;
  align-items: center;
}
.editor-CompNode-wrap .icon .custIcon {
  flex-shrink: 0;
  border-radius: 6px;
  font-size: 12px;
  line-height: 18px;
  padding: 0 4px;
  margin-right: 6px;
}
.editor-CompNode-wrap .editor-CompNode-label {
  display: inline-block;
  width: 100%;
  margin-left: 6px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.editor-NormalNode-wrap {
  display: block;
  padding: 6px 8px;
  border: 1px solid #e5e5e5;
  line-height: 14px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.editor-DetailNode-wrap {
  border: 1px solid #e5e5e5;
}
.editor-DetailNode-wrap .editor-DetailNode-tip {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 4px;
}
.editor-DetailNode-wrap .editor-DetailNode-text {
  flex: 1;
  margin-left: 5px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
