Hi,
I am using following diagram configuration:
const createDiagram = (userMapService: UserMapService): go.Diagram => {
const { make } = go.GraphObject;
return make(go.Diagram, {
'undoManager.isEnabled': true,
'textEditingTool.selectsTextOnActivate': false,
'commandHandler.archetypeGroupData': { isGroup: true, vertical: true },
padding: 20,
mouseDrop: (e) => {
finishDrop(e, null);
},
'dragSelectingTool.isEnabled': true,
'draggingTool.isEnabled': false,
model: make(go.GraphLinksModel, {
linkKeyProperty: 'key',
}),
ChangedSelection: userMapService.selectionChanged,
BackgroundSingleClicked: userMapService.clearPropertiesSelection,
TextEdited: userMapService.nodeNameChanged,
layout: make(go.TreeLayout, {
layerSpacing: 40,
nodeSpacing: 40,
angle: 90,
}),
});
};
In the output from this, the links are coming out from below the nodes, even if the link needs to go top right node instead, is there a confirmation in which the links which need to go to top right nodes can come out from right side of node?
As well as when the link’s source and destinations are same at that time instead of having a big self link can we configure it to have a small one(please refer attached image)