在 draw.io 中更改矩形的单个边框的样式

Tro*_*ler 3 draw.io

我想在 draw.io 中格式化一个矩形,这样只有一个边框(左边框)是黑色的,其他边框:顶部、右侧和底部必须保持“清晰”。

我试图找出正确的编码来仅影响这些元素,但似乎您只能使用样式键影响整个边框:imageBorder=noneDraw.io 的形状样式中所述

有没有办法只让一个边框具有特定颜色,而其他边框为空白?这种技巧的代码将非常受欢迎。

小智 5

当您在搜索栏中键入“矩形”时,您将看到“部分矩形”,这听起来很像您要查找的矩形。Also, there is a possibility to change some properties in the Format panel on the right when a shape is selected.

您还可以添加以下“verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.basic.rect;fillColor=#ffffff;fillColor2=none;strokeColor=#000000;strokeWidth=1;size=20;indent =5;" 在“编辑样式”窗口中,然后在“格式”面板中使用扩展的属性列表。

玛丽亚