in fastmodel-ide/fastmodel-ide-open-front/src/components/fmlgraph/GraphConfig.ts [44:114]
function initNode() {
Graph.registerPortLayout(
'erPortPosition',
(portsPositionArgs) => {
return portsPositionArgs.map((_, index) => {
return {
position: {
x: 0,
y: (index + 1) * LINE_HEIGHT,
},
angle: 0,
}
})
},
true,
)
customNode("dim_react", {
rect: {
strokeWidth: 1,
stroke: '#FFA40F',
fill: '#FFA40F',
},
label: {
fontWeight: 'bold',
fill: '#ffffff',
fontSize: 12,
},
}, '#FFA40F');
customNode("fact_react", {
rect: {
strokeWidth: 1,
stroke: '#00C1DE',
fill: '#00C1DE',
},
label: {
fontWeight: 'bold',
fill: '#ffffff',
fontSize: 12,
},
}, '#00C1DE');
customNode("dws_react", {
rect: {
strokeWidth: 1,
stroke: '#35B534',
fill: '#35B534',
},
label: {
fontWeight: 'bold',
fill: '#ffffff',
fontSize: 12,
},
}, '#35B534');
customNode("ads_react", {
rect: {
strokeWidth: 1,
stroke: '#8756FF',
fill: '#8756FF',
},
label: {
fontWeight: 'bold',
fill: '#ffffff',
fontSize: 12,
},
}, '#8756FF');
}