Welcome to the JavaScript feedback portal. We’re happy you’re here! If you have feedback on how to improve the JavaScript, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
Unable to change the style of Swimlane Header annotation. here is an code example
let swimlane: NodeModel = {
id:"TITLE_NODE",
shape: {
type: 'SwimLane',
header: {
annotation: {
content: 'Horizon Workflow',
style:{
color: '#FFFFFF',
strokeColor: '#FFFFFF'
}
} as Annotation,
style:{
strokeColor : '#FFFFFF',
fill: node_blue,
}
},
lanes: [
{
id: 'stackCanvas1',
height: 100,
},
],
phases: [
{
id: 'phase_jbio',
offset: 170,
header: {
annotation: {
content: 'JBIO',
} as Annotation
}
}
],
phaseSize: 20,
},
offsetX: 300, offsetY: 200,
height: 200,
width: 350
};
let diagramModel:DiagramModel = {
width: '95%',
// height: '600px',
nodes: [
swimlane
]
};
let diagram = new Diagram( diagramModel);