simplify usage with RequireBin.com
See original GitHub issueWaveDrom can be used with RequireBin.com in the following way:
var wavedrom = require('wavedrom');
// some parameters
var lane = {
xs : 10, // tmpgraphlane0.width
ys : 10, // tmpgraphlane0.height
xg : 120, // tmpgraphlane0.x
// yg : 0, // head gap
yh0 : 0, // head gap title
yh1 : 0, // head gap
yf0 : 0, // foot gap
yf1 : 0, // foot gap
y0 : 5, // tmpgraphlane0.y
yo : 30, // tmpgraphlane1.y - y0;
tgo : -10, // tmptextlane0.x - xg;
ym : 150, // tmptextlane0.y - y0
xlabel : 6, // tmptextlabel.x - xg;
xmax : 1,
scale : 1,
head : {},
foot : {}
};
// add div into body
var div = document.createElement('div');
div.id = 'a0';
document.body.appendChild(div);
// added waveform
wavedrom.renderWaveForm(
0,
{ signal:
[
{ name: "clk", wave: "p....." },
{ name: "Data", wave: "x345x.", data: ["head", "body", "tail"] },
{ name: "Request", wave: "01..0." }
]
},
'a',
lane
);
We should probably make simplified method to deal with it.
Issue Analytics
- State:
- Created 8 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
simplify usage with RequireBin.com · Issue #116 · wavedrom ...
WaveDrom can be used with RequireBin.com in the following way: var wavedrom = require('wavedrom'); // some parameters var lane = { xs :...
Read more >Simplify The Requirements - Wiki
SimplifyTheRequirements is a relative of DoTheSimplestThingThatCouldPossiblyWork. Of course, once you have simplified the requirements, then you can still ...
Read more >simplify - Verb Forms - Oxford Learner's Dictionaries
Definition of simplify verb in Oxford Advanced American Dictionary. Meaning, pronunciation, picture, example sentences, grammar, usage notes, synonyms and ...
Read more >NetSuite Applications Suite - Setting Bin Preferences
Meeting Japanese Consumption Tax Requirements · Consumption Tax Overview - Japan ... Support for Simplified System Registration for CAS Users ...
Read more >Salary Reduction Simplified Employee Pension Plan (SARSEP)
An employer can use less restrictive participation requirements than those listed, but not more restrictive ones. An employer can exclude the following ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Well, I have updated WaveDrom to v1.2.1 now
wavedrom.renderWaveForm()
ignores the last argument and don’t need thelane
data structure.Plus one line in HTML.
LGTM