Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions st_link_analysis/component/layouts.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,8 @@
**DEFAULT_ATTRS,
"name": "dagre",
},
"klay": {
**DEFAULT_ATTRS,
"name": "klay",
},
}
23 changes: 21 additions & 2 deletions st_link_analysis/frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions st_link_analysis/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"cytoscape": "^3.32.0",
"cytoscape-cola": "^2.5.1",
"cytoscape-dagre": "^2.5.0",
"cytoscape-klay": "^3.1.4",
"cytoscape-fcose": "^2.2.0",
"streamlit-component-lib": "^2.0.0"
},
Expand Down
2 changes: 2 additions & 0 deletions st_link_analysis/frontend/src/components/graph.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import cytoscape from "cytoscape";
import fcose from "cytoscape-fcose";
import cola from "cytoscape-cola";
import dagre from "cytoscape-dagre";
import klay from "cytoscape-klay";
import State from "../utils/state";
import { debounce, getCyInstance, debouncedSetValue } from "../utils/helpers";
import STYLES from "../utils/styles";
Expand All @@ -10,6 +11,7 @@ import STYLES from "../utils/styles";
cytoscape.use(fcose);
cytoscape.use(cola);
cytoscape.use(dagre);
cytoscape.use(klay);

// Constants & configurations
const CY_ID = "cy";
Expand Down