small changes
This commit is contained in:
parent
d4930eb13d
commit
9401c02800
5 changed files with 11 additions and 17 deletions
|
|
@ -33,5 +33,11 @@ export function DiamondSVG(props: { diamond: Diamond; selected: string[]; highli
|
|||
<DiamondShape size={minSize} extraAttrs={extraAttrs}/>
|
||||
|
||||
<RectHelper uid={props.diamond.uid} size={minSize} highlight={props.highlight} selected={props.selected} />
|
||||
|
||||
<text x={minSize.x/2} y={minSize.y/2}
|
||||
className="uid"
|
||||
textAnchor="middle"
|
||||
data-uid={props.diamond.uid}>{props.diamond.uid}</text>
|
||||
|
||||
</g>;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue