Public
Edited
Dec 30, 2023
Insert cell
Insert cell
wdWrapper(
{
head: {text: " Demonstrating Horizontal Arcs with Flexible Label Positioning - '>' [0-8]? '<' "},
config: { skin: 'professional', wrapSvgInImg: 0, marks: true, fit2pane: true },
signal: [
{},
{ name: 'clk', wave: '01010101010101', node: '.ABCDEFGHIJKL' },
{ node: '............\xc0'},
{ node: '...........\xc1'},
{ node: '..........\xc2'},
{ node: '.........\xc3'},
{ node: '........\xc4'},
{ node: '.......\xc5'},
{ node: '......\xc6'},
{ node: '.....\xc7'},
{ node: '....\xc8'},
{ node: '...\xc9'},
{ node: '..\xca'},
{ node: '.\xcb'},
{ name: 'data', wave: '==============', node: '..NOPQRSTUVWXY' },
{},
],
edge:[
'A-\xcb', '\xcb><N t<sub>DEF</sub>',
'B-\xca', '\xca>0<O t<sub>P0</sub>',
'C-\xc9', '\xc9>1<P t<sub>P1</sub>',
'D-\xc8', '\xc8>2<Q t<sub>P2</sub>',
'E-\xc7', '\xc7>3<R t<sub>P3</sub>',
'F-\xc6', '\xc6>4<S t<sub>P4</sub>',
'G-\xc5', '\xc5>5<T t<sub>P5</sub>',
'H-\xc4', '\xc4>6<U t<sub>P6</sub>',
'I-\xc3', '\xc3>7<V t<sub>P7</sub>',
'J-\xc2', '\xc2>8<W t<sub>P8</sub>',
'K-\xc1', '\xc1>9>X t<sub>ILGL1</sub>',
'L-\xc0', '\xc0<0<Y t<sub>ILGL2</sub>',
]
}
, 1)
Insert cell
wdWrapper( {config: {marks:false},signal: [{name:'Evaluating WaveDrom 24.01'}]}, 0)
Insert cell
wdWrapper = (() => {
wavedrom.waveSkin = window.WaveSkin ;
return (obj,i) => {
const actSVG = wavedrom.onml.stringify(wavedrom.renderAny(i, obj, wavedrom.waveSkin));
const parser = new DOMParser();
const actSVGForImg = parser.parseFromString(actSVG,'image/svg+xml').firstChild;
let ser = new XMLSerializer();
let imgt = document.createElement('img');
const svgAsImgString = encodeURIComponent(ser.serializeToString(actSVGForImg));
imgt.src = `data:image/svg+xml;utf8,${svgAsImgString}` ;
imgt.style = 'width:100%;height:100%;' ;
return imgt ;
}
})();
Insert cell
wd = (() => {
wavedrom.waveSkin = window.WaveSkin ;
return (obj,i) => html`${wavedrom.onml.stringify(wavedrom.renderAny(i, obj, wavedrom.waveSkin))}`
})();
Insert cell
wavedrom = (await require(await FileAttachment("wavedrom@1.unpkg.min.js").url()));
Insert cell
(await require(await FileAttachment("professional.js").url())).catch ( () => {} );
Insert cell

One platform to build and deploy the best data apps

Experiment and prototype by building visualizations in live JavaScript notebooks. Collaborate with your team and decide which concepts to build out.
Use Observable Framework to build data apps locally. Use data loaders to build in any language or library, including Python, SQL, and R.
Seamlessly deploy to Observable. Test before you ship, use automatic deploy-on-commit, and ensure your projects are always up-to-date.
Learn more