Skip to content

948920: Need to resolve merge conflict file #674

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 34 commits into from
Mar 25, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
33bbc79
Integrated latest changes at 01-31-2025 7:30:28 PM
SyncfusionBuild Jan 31, 2025
9277339
Integrated latest changes at 02-07-2025 7:30:17 PM
SyncfusionBuild Feb 7, 2025
7e62764
Integrated latest changes at 02-11-2025 7:30:05 PM
SyncfusionBuild Feb 11, 2025
f7a7c89
Integrated latest changes at 02-12-2025 7:30:37 PM
SyncfusionBuild Feb 12, 2025
5f90662
Integrated latest changes at 02-13-2025 7:30:46 PM
SyncfusionBuild Feb 13, 2025
b604d7d
Integrated latest changes at 02-14-2025 7:31:45 PM
SyncfusionBuild Feb 14, 2025
55bc6d0
Integrated latest changes at 02-15-2025 7:30:47 PM
SyncfusionBuild Feb 15, 2025
64cb116
Integrated latest changes at 02-17-2025 7:35:15 PM
SyncfusionBuild Feb 17, 2025
e4a852a
Integrated latest changes at 02-20-2025 7:32:23 PM
SyncfusionBuild Feb 20, 2025
501270c
Integrated latest changes at 02-21-2025 7:42:53 PM
SyncfusionBuild Feb 21, 2025
ceb4bb7
Integrated latest changes at 02-22-2025 7:30:15 PM
SyncfusionBuild Feb 22, 2025
637bc2e
Integrated latest changes at 02-26-2025 7:30:22 PM
SyncfusionBuild Feb 26, 2025
f210f48
Integrated latest changes at 02-28-2025 11:10:35 AM
SyncfusionBuild Feb 28, 2025
c2de90b
Integrated latest changes at 03-04-2025 7:30:22 PM
SyncfusionBuild Mar 4, 2025
a9e781e
Integrated latest changes at 03-05-2025 7:30:52 PM
SyncfusionBuild Mar 5, 2025
3dd0d5e
Integrated latest changes at 03-06-2025 7:30:28 PM
SyncfusionBuild Mar 6, 2025
693b1e0
Integrated latest changes at 03-07-2025 7:30:30 PM
SyncfusionBuild Mar 7, 2025
d68f270
Integrated latest changes at 03-08-2025 7:30:10 PM
SyncfusionBuild Mar 8, 2025
4934054
Integrated latest changes at 03-09-2025 7:30:15 PM
SyncfusionBuild Mar 9, 2025
cfae476
Integrated latest changes at 03-10-2025 7:30:26 PM
SyncfusionBuild Mar 10, 2025
a3fe87a
Integrated latest changes at 03-11-2025 7:30:35 PM
SyncfusionBuild Mar 11, 2025
ccb1c7f
Integrated latest changes at 03-12-2025 7:30:11 PM
SyncfusionBuild Mar 12, 2025
7415046
Integrated latest changes at 03-13-2025 7:30:27 PM
SyncfusionBuild Mar 13, 2025
9b6f5c8
Integrated latest changes at 03-14-2025 7:34:37 PM
SyncfusionBuild Mar 14, 2025
594361c
Integrated latest changes at 03-15-2025 7:30:13 PM
SyncfusionBuild Mar 15, 2025
5a79f49
Integrated latest changes at 03-17-2025 7:32:46 PM
SyncfusionBuild Mar 17, 2025
a07c7cf
Integrated latest changes at 03-18-2025 7:30:12 PM
SyncfusionBuild Mar 18, 2025
cc5c147
Integrated latest changes at 03-19-2025 7:31:19 PM
SyncfusionBuild Mar 19, 2025
e765a6c
Integrated latest changes at 03-20-2025 7:54:33 PM
SyncfusionBuild Mar 20, 2025
ce19a1c
Integrated latest changes at 03-21-2025 7:31:19 PM
SyncfusionBuild Mar 21, 2025
d9a7a79
Integrated latest changes at 03-22-2025 7:30:37 PM
SyncfusionBuild Mar 22, 2025
c814bed
Integrated latest changes at 03-24-2025 7:30:40 PM
SyncfusionBuild Mar 24, 2025
6893711
948920: Resolved merge conflict
Hariharan-sf4426 Mar 25, 2025
7f7d5ac
948920: Resolved CI failure
Hariharan-sf4426 Mar 25, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
31 changes: 23 additions & 8 deletions ej2-react-toc.html
Original file line number Diff line number Diff line change
Expand Up @@ -722,8 +722,10 @@
<li><a href="/ej2-react/data/getting-started">Getting Started</a></li>
<li><a href="/ej2-react/data/data-binding">Data Binding</a></li>
<li><a href="/ej2-react/data/adaptors">Adaptors</a></li>
<li><a href="/ej2-react/data/cache">Cache</a></li>
<li><a href="/ej2-react/data/querying">Querying</a></li>
<li><a href="/ej2-react/data/manipulation">CRUD Data operations</a></li>
<li><a href="/ej2-react/data/applying-middleware-logic">Applying Middleware Logic</a></li>
<li><a href="/ej2-react/data/how-to">How To</a></li>
</ul>
</li><li>
Expand Down Expand Up @@ -1554,28 +1556,28 @@
<li><a href="/ej2-react/image-editor/end-user-capabilities">End User Capabilities</a></li>
<li><a href="/ej2-react/image-editor/open-save">Open and Save</a></li>
<li><a href="/ej2-react/image-editor/selection-cropping">Selection and Cropping</a></li>
<li><a href="/ej2-react/image-editor/annotation">Annotation</a></li>
<li><a href="/ej2-react/image-editor/transform">Transform</a></li>
<li><a href="/ej2-react/image-editor/toolbar">Toolbar</a></li>
<li><a href="/ej2-react/image-editor/annotation">Annotation</a></li>
<li><a href="/ej2-react/image-editor/z-order">Z-Order</a></li>
<li><a href="/ej2-react/image-editor/quick-access">Quick Access Toolbar</a></li>
<li><a href="/ej2-react/image-editor/undo-redo">Undo and Redo</a></li>
<li><a href="/ej2-react/image-editor/filter">Filter</a></li>
<li><a href="/ej2-react/image-editor/finetune">Finetune</a></li>
<li><a href="/ej2-react/image-editor/resize">Resize</a></li>
<li><a href="/ej2-react/image-editor/filter">Filter</a></li>
<li><a href="/ej2-react/image-editor/frame">Frame</a></li>
<li><a href="/ej2-react/image-editor/z-order">Z-Order</a></li>
<li><a href="/ej2-react/image-editor/resize">Resize</a></li>
<li><a href="/ej2-react/image-editor/redact">Redact</a></li>
<li><a href="/ej2-react/image-editor/undo-redo">Undo Redo</a></li>
<li><a href="/ej2-react/image-editor/image-restrictions">Image Restrictions</a></li>
<li><a href="/ej2-react/image-editor/toolbar">Toolbar</a></li>
<li><a href="/ej2-react/image-editor/localization">Localization</a></li>
<li><a href="/ej2-react/image-editor/accessibility">Accessibility</a></li>
<li>How To
<ul>
<li><a href="/ej2-react/image-editor/how-to/reset">Reset an image</a></li>
<li><a href="/ej2-react/image-editor/how-to/clear-image">Clear an Image</a></li>
<li><a href="/ej2-react/image-editor/how-to/render-dialog">Render Dialog in Image Editor</a></li>
<li><a href="/ej2-react/image-editor/how-to/reset">Reset an image</a></li>
</ul>
</li>
<li><a href="https://ej2.syncfusion.com/react/documentation/api/image-editor/">API Reference</a></li>
<li><a href="/ej2-react/image-editor/accessibility">Accessibility</a></li>
</ul>
</li><li>
InplaceEditor
Expand Down Expand Up @@ -2556,6 +2558,19 @@
<li><a href="/ej2-react/sparkline/ej1-api-migration">Migration from Essential JS 1</a></li>
<li><a href="https://ej2.syncfusion.com/react/documentation/api/sparkline/">API Reference</a></li>
</ul>
</li><li>
Speech To Text
<ul>
<li><a href="/ej2-react/speech-to-text/getting-started">Getting Started</a></li>
<li><a href="/ej2-react/speech-to-text/speech-recognition">Speech recognition</a></li>
<li><a href="/ej2-react/speech-to-text/appearance">Appearance</a></li>
<li><a href="/ej2-react/speech-to-text/globalization">Globalization</a></li>
<li><a href="/ej2-react/speech-to-text/accessibility">Accessibility</a></li>
<li><a href="/ej2-react/speech-to-text/security">Security concerns</a></li>
<li><a href="/ej2-react/speech-to-text/methods">Methods</a></li>
<li><a href="/ej2-react/speech-to-text/events">Events</a></li>
<li><a href="https://ej2.syncfusion.com/react/documentation/api/speech-to-text/">API Reference</a></li>
</ul>
</li><li>
SpeedDial
<ul>
Expand Down
2 changes: 1 addition & 1 deletion ej2-react/bullet-chart/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ These modules should be injected to the `services` section as follows,
{% tabs %}
{% highlight js tabtitle="index.jsx" %}

import { BulletChartComponent, BulletTooltip } from "@syncfusion/ej2-react-charts";
import { BulletChartComponent, BulletTooltip, Inject } from "@syncfusion/ej2-react-charts";
import * as React from "react";
import * as ReactDOM from "react-dom";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export let data = [
];

function App() {
return <Chart3DComponent id='charts' style={{ textAlign: "center" }} primaryXAxis={{
return (<Chart3DComponent id='charts' style={{ textAlign: "center" }} primaryXAxis={{
valueType: 'Category',
labelRotation: -45,
labelPlacement: 'BetweenTicks'
Expand All @@ -28,7 +28,7 @@ function App() {
<Chart3DSeriesDirective dataSource={data} xName='x' yName='y' type='Column'>
</Chart3DSeriesDirective>
</Chart3DSeriesCollectionDirective>
</Chart3DComponent>;
</Chart3DComponent>)
}
;
export default App;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export let data: any[] = [


function App() {
return <Chart3DComponent id='charts' style={{ textAlign: "center" }} primaryXAxis={{
return (<Chart3DComponent id='charts' style={{ textAlign: "center" }} primaryXAxis={{
valueType: 'Category',
labelRotation: -45,
labelPlacement: 'BetweenTicks'
Expand All @@ -31,7 +31,7 @@ function App() {
<Chart3DSeriesDirective dataSource={data} xName='x' yName='y' type='Column'>
</Chart3DSeriesDirective>
</Chart3DSeriesCollectionDirective>
</Chart3DComponent>
</Chart3DComponent>)
};
export default App;
ReactDOM.render(<App />, document.getElementById("charts"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export let data = [
];

function App() {
return <Chart3DComponent id='charts' style={{ textAlign: "center" }} primaryXAxis={{
return (<Chart3DComponent id='charts' style={{ textAlign: "center" }} primaryXAxis={{
valueType: 'Category',
labelRotation: -45,
labelPlacement: 'BetweenTicks'
Expand All @@ -28,7 +28,7 @@ function App() {
<Chart3DSeriesDirective dataSource={data} xName='x' yName='y' type='Column'>
</Chart3DSeriesDirective>
</Chart3DSeriesCollectionDirective>
</Chart3DComponent>;
</Chart3DComponent>);
}
;
export default App;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export let data: any[] = [


function App() {
return <Chart3DComponent id='charts' style={{ textAlign: "center" }} primaryXAxis={{
return (<Chart3DComponent id='charts' style={{ textAlign: "center" }} primaryXAxis={{
valueType: 'Category',
labelRotation: -45,
labelPlacement: 'BetweenTicks'
Expand All @@ -31,7 +31,7 @@ function App() {
<Chart3DSeriesDirective dataSource={data} xName='x' yName='y' type='Column'>
</Chart3DSeriesDirective>
</Chart3DSeriesCollectionDirective>
</Chart3DComponent>
</Chart3DComponent>)
};
export default App;
ReactDOM.render(<App />, document.getElementById("charts"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export let data = [
];

function App() {
return <Chart3DComponent id='charts' style={{ textAlign: "center" }} primaryXAxis={{
return (<Chart3DComponent id='charts' style={{ textAlign: "center" }} primaryXAxis={{
valueType: 'Category',
labelRotation: -45,
labelPlacement: 'BetweenTicks'
Expand All @@ -28,7 +28,7 @@ function App() {
<Chart3DSeriesDirective dataSource={data} xName='x' name='Sales' yName='y' type='Column'>
</Chart3DSeriesDirective>
</Chart3DSeriesCollectionDirective>
</Chart3DComponent>;
</Chart3DComponent>);
}
;
export default App;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export let data: any[] = [


function App() {
return <Chart3DComponent id='charts' style={{ textAlign: "center" }} primaryXAxis={{
return (<Chart3DComponent id='charts' style={{ textAlign: "center" }} primaryXAxis={{
valueType: 'Category',
labelRotation: -45,
labelPlacement: 'BetweenTicks'
Expand All @@ -31,7 +31,7 @@ function App() {
<Chart3DSeriesDirective dataSource={data} xName='x' name='Sales' yName='y' type='Column'>
</Chart3DSeriesDirective>
</Chart3DSeriesCollectionDirective>
</Chart3DComponent>
</Chart3DComponent>)
};
export default App;
ReactDOM.render(<App />, document.getElementById("charts"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export let data = [
];

function App() {
return <Chart3DComponent id='charts' style={{ textAlign: "center" }} primaryXAxis={{
return (<Chart3DComponent id='charts' style={{ textAlign: "center" }} primaryXAxis={{
valueType: 'Category',
labelRotation: -45,
labelPlacement: 'BetweenTicks'
Expand All @@ -28,7 +28,7 @@ function App() {
<Chart3DSeriesDirective dataSource={data} dataLabel={{ visible: true}} xName='x' name='Sales' yName='y' type='Column'>
</Chart3DSeriesDirective>
</Chart3DSeriesCollectionDirective>
</Chart3DComponent>;
</Chart3DComponent>);
}
;
export default App;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export let data: any[] = [


function App() {
return <Chart3DComponent id='charts' style={{ textAlign: "center" }} primaryXAxis={{
return (<Chart3DComponent id='charts' style={{ textAlign: "center" }} primaryXAxis={{
valueType: 'Category',
labelRotation: -45,
labelPlacement: 'BetweenTicks'
Expand All @@ -31,7 +31,7 @@ function App() {
<Chart3DSeriesDirective dataLabel={{ visible: true }} dataSource={data} xName='x' name='Sales' yName='y' type='Column'>
</Chart3DSeriesDirective>
</Chart3DSeriesCollectionDirective>
</Chart3DComponent>
</Chart3DComponent>)
};
export default App;
ReactDOM.render(<App />, document.getElementById("charts"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export let data = [
];

function App() {
return <Chart3DComponent id='charts' style={{ textAlign: "center" }} primaryXAxis={{
return (<Chart3DComponent id='charts' style={{ textAlign: "center" }} primaryXAxis={{
valueType: 'Category',
labelRotation: -45,
labelPlacement: 'BetweenTicks'
Expand All @@ -28,7 +28,7 @@ function App() {
<Chart3DSeriesDirective dataSource={data} xName='x' name='Sales' yName='y' type='Column'>
</Chart3DSeriesDirective>
</Chart3DSeriesCollectionDirective>
</Chart3DComponent>;
</Chart3DComponent>);
}
;
export default App;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export let data: any[] = [


function App() {
return <Chart3DComponent id='charts' style={{ textAlign: "center" }} primaryXAxis={{
return (<Chart3DComponent id='charts' style={{ textAlign: "center" }} primaryXAxis={{
valueType: 'Category',
labelRotation: -45,
labelPlacement: 'BetweenTicks'
Expand All @@ -31,7 +31,7 @@ function App() {
<Chart3DSeriesDirective dataSource={data} xName='x' name='Sales' yName='y' type='Column'>
</Chart3DSeriesDirective>
</Chart3DSeriesCollectionDirective>
</Chart3DComponent>
</Chart3DComponent>)
};
export default App;
ReactDOM.render(<App />, document.getElementById("charts"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function App() {
{ value: 400, target: 380 },
{ value: 500, target: 480 },
];
return (<BulletChartComponent id='Revenue' style={{ textAlign: "center" }} animation={{ enable: false }} valueField='value' targetField='target' minimum={0} maximum={300} interval={50} dataSource={data}>
return (<BulletChartComponent id='Revenue' style={{ textAlign: "center" }} animation={{ enable: false }} valueField='value' targetField='target' minimum={0} maximum={500} interval={50} dataSource={data}>
</BulletChartComponent>);
}
;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function App() {
valueField='value'
targetField='target'
minimum={0}
maximum={300}
maximum={500}
interval={50}
dataSource={data}>
</BulletChartComponent>);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ System.config({
"@syncfusion/ej2-react-interactive-chat": "syncfusion:ej2-react-interactive-chat/dist/ej2-react-interactive-chat.umd.min.js",
"@syncfusion/ej2-react-inputs": "syncfusion:ej2-react-inputs/dist/ej2-react-inputs.umd.min.js",
"@syncfusion/ej2-react-navigations": "syncfusion:ej2-react-navigations/dist/ej2-react-navigations.umd.min.js",
"@syncfusion/ej2-react-splitbuttons": "syncfusion:ej2-react-splitbuttons/dist/ej2-react-splitbuttons.umd.min.js",
"react-dom": "https://unpkg.com/react-dom@18.2.0/umd/react-dom.production.min.js",
"react": "https://unpkg.com/react@18.2.0/umd/react.production.min.js",
},
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
import * as React from "react";
import * as ReactDOM from "react-dom";
import { Diagram, DiagramComponent, LineRouting, AvoidLineOverlapping, Snapping, DiagramConstraints, PortVisibility } from "@syncfusion/ej2-react-diagrams";

Diagram.Inject(LineRouting, AvoidLineOverlapping, Snapping);

let orData = 'M21.7,76.5L21.7,76.5c6.4-18.1,6.4-37.8,0-55.9l0-0.1h1.6c21.5,0,41.7,10.4,54.2,28l0,0l0,0 c-12.5,17.6-32.7,28-54.2,28H21.7z M99.5,48.5l-22,0 M0,31.5h25 M0,65.5h25';
let andData = 'M21.5,20.5h28a28,28,0,0,1,28,28v0a28,28,0,0,1-28,28h-28a0,0,0,0,1,0,0v-56a0,0,0,0,1,0,0Z M78,48.5 L 100,48.5Z M0,32.5 L 21.4,32.5Z M0,65.5 L 21.4,65.5Z';
let notData = 'M75.5,50.5l-52,28v-56L75.5,50.5z M81.5,50.5h18 M1.5,50.5h22 M78.5,47.5c-1.7,0-3,1.3-3,3s1.3,3,3,3s3-1.3,3-3 S80.2,47.5,78.5,47.5z';

let orPort = [
{ id: 'Or_port1', offset: { x: 0.01, y: 0.1963 }, visibility: PortVisibility.Visible, style: { fill: 'black' }, shape: 'Circle' }, { id: 'Or_port2', offset: { x: 0.26, y: 0.5 } },
{ id: 'Or_port3', offset: { x: 0.01, y: 0.805 }, visibility: PortVisibility.Visible, style: { fill: 'black' }, shape: 'Circle' }, { id: 'Or_port4', offset: { x: 0.99, y: 0.5 }, visibility: PortVisibility.Visible, style: { fill: 'black' }, shape: 'Circle' }
];
let andPort = [
{ id: 'And_port1', offset: { x: 0.01, y: 0.215 }, visibility: PortVisibility.Visible, style: { fill: 'black' }, shape: 'Circle' }, { id: 'And_port2', offset: { x: 0.22, y: 0.5 } },
{ id: 'And_port3', offset: { x: 0.01, y: 0.805 }, visibility: PortVisibility.Visible, style: { fill: 'black' }, shape: 'Circle' }, { id: 'And_port4', offset: { x: 0.99, y: 0.5 }, visibility: PortVisibility.Visible, style: { fill: 'black' }, shape: 'Circle' }
];
let notPort = [
{ id: 'Not_port1', offset: { x: 0.01, y: 0.5 }, visibility: PortVisibility.Visible, style: { fill: 'black' }, shape: 'Circle' }, { id: 'Not_port2', offset: { x: 0.99, y: 0.5 }, visibility: PortVisibility.Visible, style: { fill: 'black' }, shape: 'Circle' }
];
let nodes = [
{ id: 'switch', offsetX: 80, offsetY: 50, width: 50, height: 50, ports: [{ id: 'port1', offset: { x: 1, y: 0.5 }, visibility: PortVisibility.Visible, style: { fill: 'black' }, shape: 'Circle' }], annotations: [{ content: 'A' }] },
{ id: 'Push', offsetX: 80, offsetY: 150, width: 50, height: 50, ports: [{ id: 'port1', offset: { x: 1, y: 0.5 }, visibility: PortVisibility.Visible, style: { fill: 'black' }, shape: 'Circle' }], annotations: [{ content: 'B' }] },
{ id: 'clock', offsetX: 80, offsetY: 250, width: 50, height: 50, ports: [{ id: 'port1', offset: { x: 1, y: 0.5 }, visibility: PortVisibility.Visible, style: { fill: 'black' }, shape: 'Circle' }], annotations: [{ content: 'C' }] },
{ id: 'switch2', offsetX: 80, offsetY: 350, width: 50, height: 50, ports: [{ id: 'port1', offset: { x: 1, y: 0.5 }, visibility: PortVisibility.Visible, style: { fill: 'black' }, shape: 'Circle' }], annotations: [{ content: 'D' }] },

{ id: 'AND21', offsetX: 200, offsetY: 100, width: 60, height: 40, shape: { type: 'Path', data: andData }, ports: andPort },
{ id: 'OR22', offsetX: 200, offsetY: 200, width: 60, height: 40, shape: { type: 'Path', data: orData }, ports: orPort },
{ id: 'AND23', offsetX: 200, offsetY: 300, width: 60, height: 40, shape: { type: 'Path', data: andData }, ports: andPort },

{ id: 'AND31', offsetX: 300, offsetY: 250, width: 60, height: 40, shape: { type: 'Path', data: andData }, ports: andPort },

{ id: 'OR41', offsetX: 400, offsetY: 150, width: 60, height: 40, shape: { type: 'Path', data: orData }, ports: orPort },
{ id: 'NOT42', offsetX: 400, offsetY: 350, width: 60, height: 40, shape: { type: 'Path', data: notData }, ports: notPort },

{
id: 'Exor5', ports: orPort, offsetX: 500, offsetY: 250, width: 60, height: 40,
shape: {
type: 'Path', data: 'M21.7,76.5L21.7,76.5c6.4-18.1,6.4-37.8,0-55.9l0-0.1h1.6c21.5,0,41.7,10.4,54.2,28l0,0l0,0 c-12.5,17.6-32.7,28-54.2,28H21.7z M73.4,48.5L73.4,48.5 M17.5,76.8L17.5,76.8c6.7-18.2,6.7-38.1,0-56.3l0-0.1 M77.5,48.5h22 M0,32.5h21 M0,65.5h21'
},
},

{ id: 'bulb', offsetX: 600, offsetY: 150, width: 50, height: 50, ports: [{ id: 'bulbPort', offset: { x: 0.5, y: 1 }, visibility: PortVisibility.Visible, style: { fill: 'black' }, shape: 'Circle' }], annotations: [{ content: 'Out' }] }
];
let connectors = [
{ id: 'ExOr-Output', sourceID: 'Exor5', targetID: 'bulb', sourcePortID: 'Or_port4', targetPortID: 'bulbPort', type: 'Orthogonal' },
{ id: '4-ExOr1', sourceID: 'OR41', targetID: 'Exor5', sourcePortID: 'Or_port4', targetPortID: 'Or_port1', type: 'Orthogonal' },
{ id: '4-ExOr2', sourceID: 'NOT42', targetID: 'Exor5', sourcePortID: 'Not_port2', targetPortID: 'Or_port3', type: 'Orthogonal' },
{ id: '3-AND-OR', sourceID: 'AND31', targetID: 'OR41', sourcePortID: 'And_port4', targetPortID: 'Or_port3', type: 'Orthogonal' },
{ id: '2AND1-4AND1', sourceID: 'AND21', targetID: 'OR41', sourcePortID: 'And_port4', targetPortID: 'Or_port1', type: 'Orthogonal' },
{ id: '2OR2-3AND', sourceID: 'OR22', targetID: 'AND31', sourcePortID: 'Or_port4', targetPortID: 'And_port1', type: 'Orthogonal' },
{ id: '2AND3-3AND', sourceID: 'AND23', targetID: 'AND31', sourcePortID: 'And_port4', targetPortID: 'And_port3', type: 'Orthogonal' },

{ id: 'switch-Not42', sourceID: 'switch', targetID: 'NOT42', sourcePortID: 'port1', targetPortID: 'Not_port1', type: 'Orthogonal' },

{ id: 'Push-AND21', sourceID: 'Push', targetID: 'AND21', sourcePortID: 'port1', targetPortID: 'And_port3', type: 'Orthogonal' },
{ id: 'Push-OR22', sourceID: 'Push', targetID: 'OR22', sourcePortID: 'port1', targetPortID: 'Or_port1', type: 'Orthogonal' },
{ id: 'Push-AND23', sourceID: 'Push', targetID: 'AND23', sourcePortID: 'port1', targetPortID: 'And_port1', type: 'Orthogonal' },

{ id: 'clock-OR22', sourceID: 'clock', targetID: 'OR22', sourcePortID: 'port1', targetPortID: 'Or_port3', type: 'Orthogonal' },
{ id: 'clock-AND23', sourceID: 'clock', targetID: 'AND23', sourcePortID: 'port1', targetPortID: 'And_port3', type: 'Orthogonal' },

{ id: 'switch2-And21', sourceID: 'switch2', targetID: 'AND21', sourcePortID: 'port1', targetPortID: 'And_port1', type: 'Orthogonal' },
];
function App() {
return (<DiagramComponent id="diagram" width={'100%'} height={'700px'} nodes={nodes} connectors={connectors} rulerSettings={{ showRulers: true }}
constraints={DiagramConstraints.Default | DiagramConstraints.LineRouting | DiagramConstraints.AvoidLineOverlapping}
getConnectorDefaults={(connector) => {
connector.cornerRadius = 5; return connector;
}} />);
}
const root = ReactDOM.createRoot(document.getElementById('container'));
root.render(<App />);
Loading