Skip to content

Commit

Permalink
hierarchical=false
Browse files Browse the repository at this point in the history
  • Loading branch information
rrmerugu committed May 30, 2021
1 parent f06e835 commit 1f6ed8f
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/settings/networkOptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ const defaultOptions = {

layout: {
// randomSeed: 100,
hierarchical: true
hierarchical: false

},
physics: {
forceAtlas2Based: {
Expand Down
25 changes: 25 additions & 0 deletions src/web/viewlets/canvas/graph-canvas.js
Original file line number Diff line number Diff line change
Expand Up @@ -780,6 +780,31 @@ export default class GraphCanvas extends DefaultRemoteComponent {
</Modal>
: <React.Fragment/>
}
{
this.state.modalContentName === "last-response"
? <Modal
className={"border-0"}
size="lg"
show={true}
dialogClassName="modal-90w"
backdrop={true}
centered>
<Modal.Header className={"pt-1 pb-1 small"}>
<Modal.Title className={"h5"}>
Response Viewer
</Modal.Title>
</Modal.Header>
<Modal.Body className={"overflow-auto "}>
<ResponseViewer
lastResponse={this.state.lastResponse}
lastResponseElapsedTime={this.state.lastResponseElapsedTime}
lastResponseStatusCode={this.state.lastResponseStatusCode}
onClose={() => this.setModalContentName(null)}
/>
</Modal.Body>
</Modal>
: <React.Fragment/>
}
{
this.state.isQuerying === true || this.state.isRenderingCanvas === true
? <LoadingDiv statusMessage={this.state.statusMessage}
Expand Down

0 comments on commit 1f6ed8f

Please sign in to comment.