MCPcopy Index your code
hub / github.com/cruise-automation/webviz

github.com/cruise-automation/webviz @v0.0.12

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.0.12 ↗ · + Follow
1,062 symbols 2,757 edges 470 files 36 documented · 3% updated 3y ago★ 2,314127 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Webviz CircleCI

Webviz is a web-based application for playback and visualization of ROS bag files. This repository also contains some libraries that can be used independently to build web-based visualization tools.

  • webviz-core (homepage, github): A tool to inspect ROS bags.
  • regl-worldview (homepage, npm, github): React library for rendering 2D and 3D scenes using regl.
  • react-key-listener (npm, github): React component for handling keyboard events, without interfering with editable fields and buttons.
  • @cruise-automation/button (npm, github): React button component that supports animated progress for destructive actions, "pulse" animation, and Bulma classes.
  • @cruise-automation/tooltip (npm, github): React component that uses popper.js to add rich, customizable tooltips to DOM elements.

Please see the individual package READMEs for details on how to install and use them.

Developing

  • npm run bootstrap in the root directory to install dependencies.
  • npm run build to run a single build or npm run watch to watch and build.
  • npm run storybook to run storybook.
  • npm run screenshot-debug to generate screenshots from stories.
  • npm run docs to run the docs app.
  • npm run lint to run the linters (and npm run lint:fix to automatically fix issues).
  • npm run flow to run Flow.
  • npm run flow-typed-rebuild to update the flow-typed definitions (any time when changing packages).
  • npm test to run tests.

If you have the right permissions, you can publish: - npm run publish to publish npm packages. - npm run docs-deploy to deploy that statically hosted website (this is also done automatically in CI on the master branch).

Contributing

PRs, bug reports, and feature requests are welcome! Please observe CONTRIBUTING.md and CODE_OF_CONDUCT.md when making a contribution.

Extension points exported contracts — how you extend this code

DataSourceMetricsCollectorInterface (Interface)
(no doc) [4 implementers]
packages/webviz-core/src/types/dataSources.js
CameraCommand (Interface)
(no doc) [1 implementers]
packages/regl-worldview/src/types/index.js
IBrowserHistory (Interface)
(no doc)
flow-typed/npm/history_v4.x.x.js
DataSource (Interface)
(no doc) [3 implementers]
packages/webviz-core/src/types/dataSources.js
ReglComponent (Interface)
(no doc)
packages/regl-worldview/src/types/index.js
IMemoryHistory (Interface)
(no doc)
flow-typed/npm/history_v4.x.x.js
BackingStore (Interface)
(no doc) [1 implementers]
packages/webviz-core/src/util/Storage.js
IHashHistory (Interface)
(no doc)
flow-typed/npm/history_v4.x.x.js

Core symbols most depended-on inside this repo

toEqual
called by 310
flow-typed/npm/jest_v23.x.x.js
push
called by 94
flow-typed/npm/history_v4.x.x.js
toBe
called by 72
flow-typed/npm/jest_v23.x.x.js
add
called by 70
flow-typed/npm/@storybook/react_v4.x.x.js
subscribe
called by 35
packages/webviz-core/src/types/dataSources.js
fromMillis
called by 35
packages/webviz-core/src/util/time.js
get
called by 34
packages/webviz-core/src/util/Storage.js
addDecorator
called by 31
flow-typed/npm/@storybook/react_v4.x.x.js

Shape

Method 391
Function 368
Class 286
Interface 17

Languages

TypeScript100%

Modules by API surface

flow-typed/npm/jest_v23.x.x.js47 symbols
packages/webviz-core/src/pipeline/Pipeline.js25 symbols
packages/webviz-core/src/actions/dataSource.js24 symbols
packages/webviz-core/src/types/dataSources.js22 symbols
flow-typed/npm/history_v4.x.x.js22 symbols
packages/webviz-core/src/dataSources/RandomAccessDataSource.js21 symbols
packages/regl-worldview/src/utils/commandUtils.js21 symbols
packages/webviz-core/src/dataSources/RandomAccessDataSource.test.js19 symbols
packages/webviz-core/src/pipeline/NodeManager.js18 symbols
packages/webviz-core/src/util/time.js17 symbols
packages/webviz-core/src/test/MemoryDataSource.js17 symbols
packages/regl-worldview/src/WorldviewContext.js17 symbols

For agents

$ claude mcp add webviz \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page