mirror of
https://github.com/projectstorm/react-diagrams.git
synced 2025-08-26 07:51:10 +08:00
pretty and changeset
This commit is contained in:
7
.changeset/nice-zoos-laugh.md
Normal file
7
.changeset/nice-zoos-laugh.md
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
'@projectstorm/react-diagrams-defaults': minor
|
||||
'@projectstorm/react-diagrams-routing': minor
|
||||
'@projectstorm/react-diagrams-gallery': minor
|
||||
---
|
||||
|
||||
- new ability to refresh links in auto distribute
|
@ -80,12 +80,14 @@ class DemoWidget extends React.Component<{ model: DiagramModel; engine: DiagramE
|
||||
|
||||
render() {
|
||||
return (
|
||||
<DemoWorkspaceWidget buttons={
|
||||
<div>
|
||||
<DemoButton onClick={this.autoDistribute}>Re-distribute</DemoButton>
|
||||
<DemoButton onClick={this.autoRefreshLinks}>Refresh Links</DemoButton>
|
||||
</div>
|
||||
}>
|
||||
<DemoWorkspaceWidget
|
||||
buttons={
|
||||
<div>
|
||||
<DemoButton onClick={this.autoDistribute}>Re-distribute</DemoButton>
|
||||
<DemoButton onClick={this.autoRefreshLinks}>Refresh Links</DemoButton>
|
||||
</div>
|
||||
}
|
||||
>
|
||||
<DemoCanvasWidget>
|
||||
<CanvasWidget engine={this.props.engine} />
|
||||
</DemoCanvasWidget>
|
||||
|
Reference in New Issue
Block a user