1.1.5 • Published 1 year ago

d3-wave v1.1.5

Weekly downloads
3
License
BSD-3-Clause
Repository
github
Last release
1 year ago

d3-wave

CircleCICoverage StatusDocumentation Status

D3.js based wave (signal) visualizer

This library renders signal dumps into specified svg. (GTKWave for javascript)

scroll_and_zoom.gif

Use npm install d3-wave --save to install this library and save it to your package.json file. Installation from git for developers:

npm install            # normal dependencies
npm install --only=dev # developement only dedpendencies
npm run-script build   # build dist js
npm test               # run tests

python -m http.server  # run http server in root directory in order to open the examples in ./examples directory

Features

  • Vertical scrolling and zoom in time domain
  • Tree based signal hierarchy view (collapsable)
  • Signal tree scrollbar with preview
  • Drag-and-drop/key based signal organization
  • Renderers for int, str, bit, enum and bit vector values (user extendible)
  • Dynamic time unit on x-axis
  • Responsive design
  • Arbitrary integer values

Input JSON format

Signal record

{ "name": "<signal name>",
  "type": {"name": "<vcd signal type>",
           "width": "<bit width of signal (integer)>"},
  "data": ["<data records>"],      // optionally
  "children": ["<signal recors>"], // optionally, if children should be collapsed by default use _children
}

Data record format

["<time (number)>", "<value (string, format dependent on datatype)>"]

There is a special type with name "struct" Signal with this name has stored another signal records in it's data.

Similar opensource

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.1

4 years ago

1.1.2

4 years ago

1.1.0

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago