@dribes wrote:
Hi,
I'm working on a workflow designing tool using GoJs in an angular4 application.
I would like to let the user create link between workflow steps, once he created the link I want him to pick up the right action name from a dropdown list.I've found the exact extension for that "TextEditorSelectBox" but i have no idea how to use this extension in my Angular 4 component. Did not find any documentation about it.
I suppose it's in my linkTemplate Definition that I have to inject something, any help would ba appreciated.
Here is the sample code of my link templating :
workflowDiagram.linkTemplate = $(go.Link, // the whole link panel new go.Binding("points").makeTwoWay(), { curve: go.Link.Bezier, reshapable: true , toShortLength: 15 }, new go.Binding("curviness", "curviness"), $(go.Shape, // the link shape { stroke: "#888", strokeWidth: 4 }), $(go.Shape, // the arrowhead { toArrow: "standard", stroke: "#888", strokeWidth: 4 }), $(go.Panel, "Auto", $(go.TextBlock, // the label text { textAlign: "center", font: "10pt helvetica, arial, sans-serif", stroke: "#555555", margin: 4, editable: true}, new go.Binding("text", "text")) ) );Thanks for your help !
Posts: 1
Participants: 1