Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
142796 | Feb 20,2019 08:16 AM UTC | Feb 20,2019 11:28 AM UTC | Angular - EJ 2 | 1 |
![]() |
Tags: Diagram |
//Node
public nodes: NodeModel[] = [
{
id: 'node1',
offsetX: 100,
offsetY: 100,
width: 100,
height: 100,
shape: {
type: 'Native', content: '<svg width="400" height="110">' +
'<rect width="300" height="100" style="fill:rgb(0,0,255);" />' +
'</svg>'
},
},
];
//Connector
public connectors: ConnectorModel[] = [
{
id: 'connector1',
sourceID: 'node1',
targetID: 'node2',
sourcePortID: 'port2',
targetPortID: 'port1',
type: 'Orthogonal'
}
];
|
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.