Граф коммитов

22 Коммитов

Автор SHA1 Сообщение Дата
Hongchan Choi 58bfd8df5d update package/manifest 2023-08-17 11:12:40 -07:00
Tenghui Zhang 0feabe0ce9 add webpack plugin 2023-08-09 16:37:59 -07:00
Tenghui Zhang b37fb1f1f1 Include the newest update for https://github.com/GoogleChrome/audion/pull/160 2023-05-17 16:36:42 -07:00
Tenghui Zhang 98c263c9f9
Merge branch 'main' into main 2023-05-17 14:04:18 -07:00
Hongchan Choi d4280aba99
Revert "update deps to unbreak build in current nodejs" 2023-05-17 13:25:16 -07:00
Tenghui Zhang fed8dd7eaf
Merge branch 'main' into main 2023-05-17 13:02:40 -07:00
Tenghui Zhang 45ccc0412f upgrade node from 14 to 18 2023-05-15 13:39:34 -07:00
Tenghui Zhang 6824befb2a newest version pixi and unsafe-eval 2023-05-12 14:05:24 -07:00
Tenghui Zhang 72f1436c47 7.1.3 fix the import issue 2023-05-12 13:45:46 -07:00
Tenghui Zhang 8a1fd477b4 Fix newest version of @pixi/unsafe-eval 2023-05-12 13:41:58 -07:00
Tenghui Zhang bdc977b7d7 pixi.Event is included in pixi.js. No needed to include in package.json 2023-05-12 13:20:40 -07:00
Tenghui Zhang 85c5c55033 Upgrading the npm module and fixing vulnerabilities from npm install 2023-05-11 16:53:24 -07:00
Patrick Kettner f9822d9040 update deps to unbreak build in current nodejs 2023-05-04 18:26:21 -04:00
Hongchan Choi ee95b6f734 updated version to 3.0.5 2022-04-26 11:38:28 -07:00
Michael "Z" Goddard f6f252c12c
Fix event reliability (#136)
* chore: move layout map function to its own file

* chore: move graph render update map function to a file

* fix: test graph integration and rendering with missing events

* fix: return in graph integrator if missing data

* fix: graph render skips adding edges if data is missing

* fixup! fix: test graph integration and rendering with missing events

* fixup! fix: test graph integration and rendering with missing events

* fixup! chore: move graph render update map function to a file

* fix: add Audion.GraphEdge and related types to devtools

* fixup! fix: return in graph integrator if missing data

* fixup! fix: graph render skips adding edges if data is missing

* fixup! chore: move layout map function to its own file

* fixup! fix: test graph integration and rendering with missing events
2022-04-07 17:50:44 -04:00
Michael "Z" Goddard fae1062b00 feature: add detail panel 2022-02-24 18:44:48 -05:00
Michael "Z" Goddard 3cc758b441
Add context shorthand title top bar and context performance summary bottom bar (#119)
* fix: build issues with optional chaining

* fix: type Types files

* fix: type src/panel files

* fix: type src/utils/Observer

* change: add ContextRealtimeData polling

* change: add debugger state machine to WebAudioEventObserver

* change: add context summary bar and select graph

* fixup! change: add context summary bar and select graph

* Revert "change: add debugger state machine to WebAudioEventObserver"

This reverts commit 4399ae9e2d.

* fixup! Revert "change: add debugger state machine to WebAudioEventObserver"

* fixup! Revert "change: add debugger state machine to WebAudioEventObserver"

* fix: give web audio domain enums descriptive names

* fixup! fix: give web audio domain enums descriptive names

* fixup! change: add ContextRealtimeData polling

* fixup! change: add context summary bar and select graph

* fixup! fix: type src/utils/Observer
2022-02-15 17:05:57 -05:00
Max Vogler eaa29a033a
Introduce RxJS to standardise and simplify Observables (#112)
* Explicitly mark runtime dependencies.

* Use TypeScript and official DevTools Protocol typings.

* Add typescript to package.json

* Debug up build files. (#1)

* Clean config.

* Log verbose.

* Remove import.

* Introduce RxJS.

* Fix source-maps with unsafe-eval policy

* Format TS files.

* Add typings for dagre, graphlib.

* Migrate WholeGraphButton to RxJS.

* Migrate panel/worker to RxJS.

* Revert WebAudioEventObserver.ts to HEAD.

* Fix typos.
2021-11-11 14:38:01 +01:00
Max Vogler b7eab4903f
Introduce TypeScript and official DevTools Protocol typings (#111)
* Explicitly mark runtime dependencies.

* Use TypeScript and official DevTools Protocol typings.

* Add typescript to package.json

* Debug up build files.

* Clean config.

* Log verbose.

* Remove import.

* Emit sourcemaps in dev only.
2021-09-30 18:04:53 +02:00
Michael "Z" Goddard 5819e6489c
polish graph rendering and viewport controls (#99)
- Support multiple Web Audio contexts
- Render ports on nodes
- Smooth edge lines
- Draw edge lines between the ports the edge connects
- Add a loading screen until the panel's script is ready
- Add button that fits the graph to the viewport
- Zoom viewport around the mouse cursor
- Add viewport margin
- Constrain viewport panning when zoomed within the graph bounds
- Remove unused files

Multiple Web Audio Contexts

Collect web audio graph data in the devtools script for when the panel is opened and connects. On the panel the initial set of current graphs and updates is collected. One of those current graphs can be selected with the GraphSelector instance and it will passed on to the worker for layout and back to the panel for rendering. As one graph is rendered at any time, one instance of the rendering logic and state is reused with each graph, whichever one is currently selected. To the rendering logic receiving a graph for a web audio graph other than what it last displayed is the same as the previous graph destroying all of its nodes and making brand new ones.
2021-08-25 09:42:35 -04:00
Michael "Z" Goddard ddd7bb1cba
use dagre and graphlib for layout, pixi.js for render (#98)
The graph is created with nodes and edges added in the devtools page.
Pass the graph to the devtools panel, which sets node sizes, and passes
to a web worker. On the web worker dagre lays out the graph and sends it
back to the panel. When the panel receives it, it updates the positions
of nodes and updates edge lines.
2021-08-19 13:18:38 -04:00
Michael "Z" Goddard 6c2a518d9b
build: add tool dependencies (#96)
* build: add lint configuration files

* build: add test, doc, and build configuration files

* build: add husky and other tool dependencies

* build: add rudimentatry source dir

* build: create unpacked and packed chrome extension

* build: add nodejs ci workflow

* build: set license to Apache 2.0
2021-07-22 10:35:41 -04:00