Electrical Waveforms Entities
Chopped Square Wave
- Preview
- Usage
- Definition
import { ChoppedSquareWave } from '@dinghy/diagrams/entitiesElectricalWaveforms'
<ChoppedSquareWave/>
// or
import { extendStyle } from "@dinghy/base-components";
import { CHOPPED_SQUARE_WAVE } from '@dinghy/diagrams/entitiesElectricalWaveforms'
<Shape
{...props}
_style={extendStyle(props, CHOPPED_SQUARE_WAVE)}
/>
{
_style: {
entity: 'pointerEvents=1;verticalLabelPosition=bottom;shadow=0;dashed=0;align=center;html=1;verticalAlign=top;shape=mxgraph.electrical.waveforms.slow_square_wave;',
},
_original_width: 90,
_original_height: 80,
}
Pulse
- Preview
- Usage
- Definition
import { Pulse } from '@dinghy/diagrams/entitiesElectricalWaveforms'
<Pulse/>
// or
import { extendStyle } from "@dinghy/base-components";
import { PULSE } from '@dinghy/diagrams/entitiesElectricalWaveforms'
<Shape
{...props}
_style={extendStyle(props, PULSE)}
/>
{
_style: {
entity: 'pointerEvents=1;verticalLabelPosition=bottom;shadow=0;dashed=0;align=center;html=1;verticalAlign=top;shape=mxgraph.electrical.waveforms.pulse_1;',
},
_original_width: 90,
_original_height: 90,
}
Pulse 2
- Preview
- Usage
- Definition
import { Pulse2 } from '@dinghy/diagrams/entitiesElectricalWaveforms'
<Pulse2/>
// or
import { extendStyle } from "@dinghy/base-components";
import { PULSE_2 } from '@dinghy/diagrams/entitiesElectricalWaveforms'
<Shape
{...props}
_style={extendStyle(props, PULSE_2)}
/>
{
_style: {
entity: 'pointerEvents=1;verticalLabelPosition=bottom;shadow=0;dashed=0;align=center;html=1;verticalAlign=top;shape=mxgraph.electrical.waveforms.pulse_2;',
},
_original_width: 90,
_original_height: 90,
}
Sawtooth
- Preview
- Usage
- Definition
import { Sawtooth } from '@dinghy/diagrams/entitiesElectricalWaveforms'
<Sawtooth/>
// or
import { extendStyle } from "@dinghy/base-components";
import { SAWTOOTH } from '@dinghy/diagrams/entitiesElectricalWaveforms'
<Shape
{...props}
_style={extendStyle(props, SAWTOOTH)}
/>
{
_style: {
entity: 'pointerEvents=1;verticalLabelPosition=bottom;shadow=0;dashed=0;align=center;html=1;verticalAlign=top;shape=mxgraph.electrical.waveforms.sawtooth;',
},
_width: 90,
_height: 40,
}
Sine Wave
- Preview
- Usage
- Definition
import { SineWave } from '@dinghy/diagrams/entitiesElectricalWaveforms'
<SineWave/>
// or
import { extendStyle } from "@dinghy/base-components";
import { SINE_WAVE } from '@dinghy/diagrams/entitiesElectricalWaveforms'
<Shape
{...props}
_style={extendStyle(props, SINE_WAVE)}
/>
{
_style: {
entity: 'pointerEvents=1;verticalLabelPosition=bottom;shadow=0;dashed=0;align=center;html=1;verticalAlign=top;shape=mxgraph.electrical.waveforms.sine_wave;',
},
_width: 90,
_height: 66.18,
}
square_wave
- Preview
- Usage
- Definition
import { SquareWave } from '@dinghy/diagrams/entitiesElectricalWaveforms'
<SquareWave/>
// or
import { extendStyle } from "@dinghy/base-components";
import { SQUARE_WAVE } from '@dinghy/diagrams/entitiesElectricalWaveforms'
<Shape
{...props}
_style={extendStyle(props, SQUARE_WAVE)}
/>
{
_style: {
entity: 'pointerEvents=1;verticalLabelPosition=bottom;shadow=0;dashed=0;align=center;html=1;verticalAlign=top;shape=mxgraph.electrical.waveforms.square_wave;',
},
_original_width: 90,
_original_height: 80,
}
Step
- Preview
- Usage
- Definition
import { Step } from '@dinghy/diagrams/entitiesElectricalWaveforms'
<Step/>
// or
import { extendStyle } from "@dinghy/base-components";
import { STEP } from '@dinghy/diagrams/entitiesElectricalWaveforms'
<Shape
{...props}
_style={extendStyle(props, STEP)}
/>
{
_style: {
entity: 'pointerEvents=1;verticalLabelPosition=bottom;shadow=0;dashed=0;align=center;html=1;verticalAlign=top;shape=mxgraph.electrical.waveforms.step_1;',
},
_original_width: 90,
_original_height: 90,
}
Step 2
- Preview
- Usage
- Definition
import { Step2 } from '@dinghy/diagrams/entitiesElectricalWaveforms'
<Step2/>
// or
import { extendStyle } from "@dinghy/base-components";
import { STEP_2 } from '@dinghy/diagrams/entitiesElectricalWaveforms'
<Shape
{...props}
_style={extendStyle(props, STEP_2)}
/>
{
_style: {
entity: 'pointerEvents=1;verticalLabelPosition=bottom;shadow=0;dashed=0;align=center;html=1;verticalAlign=top;shape=mxgraph.electrical.waveforms.step_2;',
},
_original_width: 90,
_original_height: 90,
}