Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explore cytoscape rebase #785

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
5b97a19
WIP Interactive Visualizer (#487)
aidanm3341 Nov 5, 2024
6faf68f
Added group and nested group functionality
Adwoa-Konadu-Appiah Nov 6, 2024
faf1327
Only re-generate graph if uploaded CALM instance json file has change…
oliviajanejohns Nov 11, 2024
12ae400
Add arrow labels on graph outputted by calm-visualizer (finos#568)
oliviajanejohns Nov 11, 2024
2d17997
Add arrow labels on graph outputted by calm-visualizer (finos#568)
oliviajanejohns Nov 11, 2024
23d31c5
#585 remove comments & update group feature
Adwoa-Konadu-Appiah Nov 12, 2024
55e8340
#585 remove whitespaces
Adwoa-Konadu-Appiah Nov 13, 2024
18cfe29
styled git containers
Adwoa-Konadu-Appiah Nov 14, 2024
d96027b
Add prettier to calm-visualizer
oliviajanejohns Nov 15, 2024
eafc9d4
Add tailwindcss to calm-visualizer
oliviajanejohns Nov 15, 2024
fa3ec52
Open node-detail-preview on node selection
oliviajanejohns Nov 15, 2024
d8fab7e
Update visualiser branch to bring in latest changes (#598)
oliviajanejohns Nov 18, 2024
b6c66b0
Enlarge container to view nodes
Adwoa-Konadu-Appiah Nov 19, 2024
e1f9a0c
Installed cytoscape
YoofiTT96 Nov 22, 2024
f0eac7a
Initial scafolding
YoofiTT96 Nov 22, 2024
47530bc
Add data processing
YoofiTT96 Nov 22, 2024
95fa810
Add more scaffolding
YoofiTT96 Nov 22, 2024
4a6ee78
WIP laypouting
YoofiTT96 Nov 22, 2024
dac5c7f
WIP layouting
YoofiTT96 Nov 22, 2024
40fab04
show sidepanel for details on cytoscapenode on tap
DorothyEwuah Nov 25, 2024
7ade5bc
WIP layouting - Add grouping
YoofiTT96 Nov 22, 2024
d673986
Shorten edge labels and add tooltip
aamanrebello Nov 22, 2024
203ffdf
WIP layouting - Move cytoscape rendering to Drawer
YoofiTT96 Nov 22, 2024
6c87c61
rendering cytoscape graph based on upload
DorothyEwuah Nov 25, 2024
d464abb
Remove unused JSPlump dependency
oliviajanejohns Nov 25, 2024
cf65a97
Render cytoscape graph based on uploaded file
oliviajanejohns Nov 26, 2024
0b75cda
WIP layouting - Clean up commits. Remove layout file requirements
YoofiTT96 Nov 27, 2024
9d4bd5f
Display edges in sidebar when clicked on
aamanrebello Nov 27, 2024
fc156dc
Update explore-cytoscape with changes from main (#648)
YoofiTT96 Dec 3, 2024
2118323
formatting fixes and typescript errors
aidanm3341 Dec 6, 2024
4bebbcc
removed unecessary step during file upload and deleted some files
aidanm3341 Dec 6, 2024
da10f40
styling improvements
aidanm3341 Dec 6, 2024
a674f14
Added navbar and menu to calm-visualizer webpage
oliviajanejohns Dec 8, 2024
27e2b2a
Add connection descriptions toggle
oliviajanejohns Dec 15, 2024
ba9cb6c
Added Toggle to show/hide descriptions on nodes
oliviajanejohns Dec 20, 2024
04b21de
Setup Vitest
oliviajanejohns Dec 20, 2024
ab05aaa
Adjust theme of visualizer
oliviajanejohns Jan 10, 2025
646a688
Update drawer to align with new CALMArchitecture type
oliviajanejohns Jan 10, 2025
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
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
* @finos/architecture-as-code-maintainers
- @finos/architecture-as-code-maintainers

/calm/ @finos/architecture-as-code-maintainers

Expand Down
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@
"clearOnRun": "none"
},
"java.compile.nullAnalysis.mode": "automatic",
"java.configuration.updateBuildConfiguration": "automatic"
"java.configuration.updateBuildConfiguration": "automatic",
"editor.formatOnSave": true,
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ There aren't many standards to follow when it comes to Github actions - but some
- Ensure that any obscure actions are documented so that others can follow and maintain them.


## Language Dependencies
## Language Dependencies

### TypeScript Packages

Expand Down
24 changes: 24 additions & 0 deletions calm-visualizer/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
9 changes: 9 additions & 0 deletions calm-visualizer/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"trailingComma": "es5",
"tabWidth": 4,
"semi": true,
"singleQuote": true,
"bracketSpacing": true,
"endOfLine": "auto",
"printWidth": 100
}
50 changes: 50 additions & 0 deletions calm-visualizer/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh

## Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:

- Configure the top-level `parserOptions` property like this:

```js
export default tseslint.config({
languageOptions: {
// other options...
parserOptions: {
project: ['./tsconfig.node.json', './tsconfig.app.json'],
tsconfigRootDir: import.meta.dirname,
},
},
});
```

- Replace `tseslint.configs.recommended` to `tseslint.configs.recommendedTypeChecked` or `tseslint.configs.strictTypeChecked`
- Optionally add `...tseslint.configs.stylisticTypeChecked`
- Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and update the config:

```js
// eslint.config.js
import react from 'eslint-plugin-react';

export default tseslint.config({
// Set the react version
settings: { react: { version: '18.3' } },
plugins: {
// Add the react plugin
react,
},
rules: {
// other rules...
// Enable its recommended rules
...react.configs.recommended.rules,
...react.configs['jsx-runtime'].rules,
},
});
```
25 changes: 25 additions & 0 deletions calm-visualizer/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import js from '@eslint/js';
import globals from 'globals';
import reactHooks from 'eslint-plugin-react-hooks';
import reactRefresh from 'eslint-plugin-react-refresh';
import tseslint from 'typescript-eslint';

export default tseslint.config(
{ ignores: ['dist'] },
{
extends: [js.configs.recommended, ...tseslint.configs.recommended],
files: ['**/*.{ts,tsx}'],
languageOptions: {
ecmaVersion: 2020,
globals: globals.browser,
},
plugins: {
'react-hooks': reactHooks,
'react-refresh': reactRefresh,
},
rules: {
...reactHooks.configs.recommended.rules,
'react-refresh/only-export-components': ['warn', { allowConstantExport: true }],
},
}
);
14 changes: 14 additions & 0 deletions calm-visualizer/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!doctype html>
<html lang="en" data-theme="light">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link href="./output.css" rel="stylesheet" />
<title>CALM Visualizer</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>
Loading
Loading