We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1bf4ed7 commit 21f5525Copy full SHA for 21f5525
DotNetSyntaxTreeVisualizer/ClientApp/src/components/Home.js
@@ -47,7 +47,9 @@ export class Home extends Component {
47
<React.Fragment>
48
<textarea defaultValue={helloWorldCode} onChange={this.handleChanged} style={{ height: '230px', width: '100%' }} />
49
<div id="treeWrapper" style={containerStyles} ref={tc => (this.treeContainer = tc)}>
50
- <Tree data={this.state.treeJson} orientation="vertical" translate={this.state.translate} pathFunc="straight" />
+ <Tree data={this.state.treeJson} orientation="vertical"
51
+ translate={this.state.translate} pathFunc="straight" transitionDuration={0}
52
+ nodeSvgShape={{ shape: "none" }} textLayout={{textAnchor: "middle"}}/>
53
</div>
54
</React.Fragment>
55
);
0 commit comments