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

Migrate to version 2.x antv/x6 #1099

Merged
merged 39 commits into from
Oct 15, 2024
Merged
Show file tree
Hide file tree
Changes from 35 commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
088a281
first pass at migrating to version 2.x antv/x6
jgadsden Oct 4, 2024
8883ec2
Updating history calls to use "getPlugin" api
lreading Oct 4, 2024
cbf3053
Updating graph tests
lreading Oct 5, 2024
10b819e
remove feature data flow on double click, as counter intuitive
jgadsden Oct 5, 2024
d5ea759
provide limits for scaling
jgadsden Oct 5, 2024
56ca322
provide better limits for scaling / zoom
jgadsden Oct 5, 2024
9a99c83
update jquery, does not solve issue #1100
jgadsden Oct 6, 2024
bbec4dd
fix schema errors in v2 demo threat model
jgadsden Oct 6, 2024
d907b6b
provide mousewheel down for panning
jgadsden Oct 6, 2024
33d6aba
Using the ports API for edges and connecting shapes, WIP
lreading Oct 6, 2024
0e88201
reinstate stencil test specs for edges
jgadsden Oct 7, 2024
1bbe52d
Adding missing ports file, messed up my commit last night
lreading Oct 7, 2024
2413ac3
Reverting to getPlugin call for history
lreading Oct 7, 2024
b7ff481
provide smooth data flows to diagram component boundary
jgadsden Oct 8, 2024
d17d6d4
provide rubber banding and revise panning
jgadsden Oct 9, 2024
d995fb7
increase snap radius for data flows, and allow unconnected ends
jgadsden Oct 9, 2024
0c67706
Adding edge tool on hover for nodes
lreading Oct 11, 2024
06526f9
Adding flow-stencil back
lreading Oct 11, 2024
9fea3e1
Adding trust boundary curve stencil
lreading Oct 11, 2024
cce8f34
Converting edges to tm.Flow. Allows for original styling and properties
lreading Oct 11, 2024
c4440be
Fixes history bug where properties are undefined when removing nodes
lreading Oct 11, 2024
cf1946b
remove unused params to graph selection plugin
jgadsden Oct 12, 2024
caa5e6f
provide name for stencil dataflows to be consistent with port dataflows
jgadsden Oct 12, 2024
f998b3e
remove references to freeze/unfreeze from antv/x6 version 1.x
jgadsden Oct 12, 2024
f17c26b
Make the readonly graph immutable by preventing all interactions
lreading Oct 14, 2024
cfe243b
Fixing stencil unit tests
lreading Oct 14, 2024
f50eb9a
Removing unsupported language feature from graphMeta.vue
lreading Oct 14, 2024
1e62f8f
Fixing events tests
lreading Oct 14, 2024
f129b5a
Fixing graph buttons tests
lreading Oct 14, 2024
50a6436
Fixing graph tests, skipping one until we determine how panning works…
lreading Oct 14, 2024
141d8b6
Updating keys spec
lreading Oct 14, 2024
7124dbc
Graph factory spec updates
lreading Oct 14, 2024
a590166
Removing outdated test
lreading Oct 14, 2024
a4a6133
Addressing linting errors
lreading Oct 14, 2024
4715abb
allow magnet for diagram components
jgadsden Oct 15, 2024
a5ee9e8
Removing temporary test runner from package.json
lreading Oct 15, 2024
e2bf8f5
remove ports from text box
jgadsden Oct 15, 2024
3357b15
Removing unused references / addressing linting violations
lreading Oct 15, 2024
8ef32ce
Merge branch 'v2-antv-x6' of github.com:OWASP/threat-dragon into v2-a…
jgadsden Oct 15, 2024
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
60 changes: 58 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -94,44 +94,76 @@
!td.vue/public/
!td.vue/public/*
!td.vue/src/
!td.vue/src/*.js
!td.vue/src/*.vue
!td.vue/src/assets/
!td.vue/src/assets/*.svg
!td.vue/src/assets/*.jpg
!td.vue/src/assets/schema/
!td.vue/src/assets/schema/*.js
!td.vue/src/assets/*.jpg
!td.vue/src/assets/*.svg
!td.vue/src/components/
!td.vue/src/components/*.vue
!td.vue/src/components/printed-report/
!td.vue/src/components/printed-report/*.vue
!td.vue/src/components/report/
!td.vue/src/components/report/*.vue
!td.vue/src/desktop/
!td.vue/src/desktop/*.html
!td.vue/src/desktop/*.js
!td.vue/src/i18n/
!td.vue/src/i18n/*.js
!td.vue/src/icons/
!td.vue/src/icons/*
!td.vue/src/plugins/
!td.vue/src/plugins/*.js
!td.vue/src/router/
!td.vue/src/router/*.js
!td.vue/src/service/
!td.vue/src/service/*.js
!td.vue/src/service/api/
!td.vue/src/service/api/*.js
!td.vue/src/service/demo/
!td.vue/src/service/demo/*.js
!td.vue/src/service/entity/
!td.vue/src/service/entity/*.js
!td.vue/src/service/migration/
!td.vue/src/service/migration/*.js
!td.vue/src/service/otm/
!td.vue/src/service/otm/*.js
!td.vue/src/service/provider/
!td.vue/src/service/provider/*.js
!td.vue/src/service/schema/
!td.vue/src/service/schema/*.js
!td.vue/src/service/threats/
!td.vue/src/service/threats/*.js
!td.vue/src/service/threats/models/
!td.vue/src/service/threats/models/*.js
!td.vue/src/service/threats/oats/
!td.vue/src/service/threats/oats/*.js
!td.vue/src/service/x6/
!td.vue/src/service/x6/*.js
!td.vue/src/service/x6/graph/
!td.vue/src/service/x6/graph/*.js
!td.vue/src/service/x6/shapes/
!td.vue/src/service/x6/shapes/*.js
!td.vue/src/store/
!td.vue/src/store/*.js
!td.vue/src/store/actions/
!td.vue/src/store/actions/*.js
!td.vue/src/store/modules/
!td.vue/src/store/modules/*.js
!td.vue/src/styles/
!td.vue/src/styles/*.css
!td.vue/src/styles/*.scss
!td.vue/src/views/
!td.vue/src/views/*.vue
!td.vue/src/views/demo/
!td.vue/src/views/demo/*.vue
!td.vue/src/views/git/
!td.vue/src/views/git/*.vue
!td.vue/tests/
!td.vue/tests/e2e/
!td.vue/tests/e2e/*.js
!td.vue/tests/e2e/desktop/
!td.vue/tests/e2e/desktop/*.spec.js
!td.vue/tests/e2e/fixtures/
Expand All @@ -147,29 +179,53 @@
!td.vue/tests/e2e/support/
!td.vue/tests/e2e/support/*.js
!td.vue/tests/unit/
!td.vue/tests/unit/*.spec.js
!td.vue/tests/unit/components/
!td.vue/tests/unit/components/*.spec.js
!td.vue/tests/unit/components/printed-report/
!td.vue/tests/unit/components/printed-report/*.spec.js
!td.vue/tests/unit/components/report/
!td.vue/tests/unit/components/report/*.spec.js
!td.vue/tests/unit/desktop/
!td.vue/tests/unit/desktop/*.spec.js
!td.vue/tests/unit/entity/
!td.vue/tests/unit/entity/*.spec.js
!td.vue/tests/unit/router/
!td.vue/tests/unit/router/*.spec.js
!td.vue/tests/unit/service/
!td.vue/tests/unit/service/*.spec.js
!td.vue/tests/unit/service/api/
!td.vue/tests/unit/service/api/*.spec.js
!td.vue/tests/unit/service/demo/
!td.vue/tests/unit/service/demo/*.spec.js
!td.vue/tests/unit/service/entity/
!td.vue/tests/unit/service/entity/*.spec.js
!td.vue/tests/unit/service/migration/
!td.vue/tests/unit/service/migration/*.spec.js
!td.vue/tests/unit/service/otm/
!td.vue/tests/unit/service/otm/*.spec.js
!td.vue/tests/unit/service/provider/
!td.vue/tests/unit/service/provider/*.spec.js
!td.vue/tests/unit/service/schema/
!td.vue/tests/unit/service/schema/*.spec.js
!td.vue/tests/unit/service/threats/
!td.vue/tests/unit/service/threats/*.spec.js
!td.vue/tests/unit/service/threats/models/
!td.vue/tests/unit/service/threats/models/*.spec.js
!td.vue/tests/unit/service/x6/
!td.vue/tests/unit/service/x6/*.spec.js
!td.vue/tests/unit/service/x6/graph/
!td.vue/tests/unit/service/x6/graph/*.spec.js
!td.vue/tests/unit/service/x6/shapes/
!td.vue/tests/unit/service/x6/shapes/*.spec.js
!td.vue/tests/unit/store/actions/
!td.vue/tests/unit/store/actions/*.spec.js
!td.vue/tests/unit/store/modules/
!td.vue/tests/unit/store/modules/*.spec.js
!td.vue/tests/unit/views/
!td.vue/tests/unit/views/*.spec.js
!td.vue/tests/unit/views/demo/
!td.vue/tests/unit/views/demo/*.spec.js
!td.vue/package.json
!td.vue/package-lock.json
!td.vue/.browserslistrc
Expand Down
184 changes: 168 additions & 16 deletions td.vue/package-lock.json

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

Loading