October 28, 2018, 7:09 am
@itayh wrote:
Hi guys,
I need to delete the group without the childrens using the “del” key, so i’m guessing “deleteSelection” should be involved somehow.
Is there a simple fix for this or i should override and implement it my self?
Thanks.
Posts: 2
Participants: 2
Read full topic
↧
October 28, 2018, 11:08 pm
@dreamweiver wrote:
Hi Team,
I am working on a prototype with Gojs Diagram and I want to disable the dragSelectingTool which is activated on the diagram by default with magenta coloured window.
I searched through the forum and docs, didnt find any help.
I also tried following, but nothing worked
-
dragSelectingTool : “”
-
dragSelectingTool: {}
any quick help would be really appreciated.
regards,
Manoj Kumar Lakshman
Posts: 1
Participants: 1
Read full topic
↧
↧
October 29, 2018, 2:25 am
@biswa wrote:
How to get function on Ctrl-- on a node?
Default is zoom decrease. But After selecting a node when press Ctrl-- it should rotate the node to an angle( Like: 90º)
Posts: 1
Participants: 1
Read full topic
↧
October 29, 2018, 5:05 am
@dasguptarupak wrote:
Hi Team,
I want to remove a link right after a ‘LinkDrawn’ event is fired based on that link’s from property.
Kindly help me to solve this problem.
Thanks
Posts: 3
Participants: 2
Read full topic
↧
October 29, 2018, 5:28 am
@biswa wrote:
We want Drop a node on to a node nodes should not be overlapped.
How to achieve this?
I am using
layout: $(ParallelLayout, { nodeSpacing: 3, isOngoing: false, angle: 0,nodeSpacing: 10, layerSpacing: 30, setsPortSpot :false, setsChildPortSpot : false }),
Posts: 3
Participants: 2
Read full topic
↧
↧
October 29, 2018, 6:00 am
@jalendra wrote:
I have a requirement where particular node with specific key will be at the end(right side) of the level.
When I add link data it adds the node at last position always. Is there any way i can add the node/link before some node.
Posts: 3
Participants: 2
Read full topic
↧
October 29, 2018, 3:10 pm
@chintu538 wrote:
Hello,
Our actual requirement is to divide the gojs org chart editor canvas area into three sections which is not supported by default in GoJs. I couldn’t find direct solution for customizing the canvas area. Could you please help me how to customize and how to drag and drop the nodes from one section to another. Please find the screenshot below,
![image]()
Please let me know if any additional information is required. Thank you for your support in advance.
Posts: 5
Participants: 2
Read full topic
↧
October 30, 2018, 3:28 am
@biswa wrote:
How can I get the link count between two nodes?
we have function to implement more that one link can not be allowed between two nodes when drop a node into a node?
Posts: 1
Participants: 1
Read full topic
↧
October 30, 2018, 5:48 am
@biswa wrote:
How can we get link lowest end point?
So that we can show tool tips below that, to avoid overlap the link text.
Please check the image
Posts: 2
Participants: 2
Read full topic
↧
↧
October 30, 2018, 10:44 am
↧
October 30, 2018, 3:02 pm
@or.madipor wrote:
Hey,
My diagram is listening to “InitialLayoutCompleted” event.
What I’m trying to do is position the diagram at the center of div horizontally and vertically.
Another thing, the diagram can’t be in the top 50 pixels of the div. please see the following example:
The problem starts when the size of the diagram (documentBounds) is larger than the size of the div.
In this case, I would like to change the height of the diagram. smaller than the height of the div.
How do I change the diagram size (documentBounds) and fit the zoom to the new size?
this.diagram.addDiagramListener(‘InitialLayoutCompleted’, this.centralizOnLoad);
centralizOnLoad(): void {
let divHeight = this.diagram.div.clientHeight;
let documentHeigth = this.diagram.documentBounds.height;
if (divHeight < documentHeigth) {
this.diagram.documentBounds.height = divHeight - 50;
this.diagram.zoomToFit();
this.diagram.position = new go.Point(paddingFromLeft, -50);
this.diagram.requestUpdate();
}
}
Thank you
Posts: 2
Participants: 2
Read full topic
↧
October 30, 2018, 3:58 pm
@chintu538 wrote:
Hi Walter, I’m trying to add a icon (button) inside canvas and when user clicks on that button it should open a new browser window.
Posts: 2
Participants: 2
Read full topic
↧
October 30, 2018, 11:47 pm
@zLinz wrote:
I have some questions with the TreeLayout.
I need to implement kind of this effect:
But what i got in the document was <properties for the “last parents”> i could use.
So i have done like this:
what should i do?
thanks a lot!!!
I just want the last two nodes link like the first pic.
Posts: 2
Participants: 2
Read full topic
↧
↧
October 31, 2018, 4:06 am
@YosuaSalim wrote:
I’m developing twin and identical twin nodes in VueJS based Genogram.
I read a topic in this forum (Mixing orthogonal and normal linking) and tried implementing it. It works perfectly for twin nodes, but not for identical twin nodes.
First identical twin is generated correctly, but second identical twin is not
Is there a settings that I should configure to fix the layout problem ?
Here is the identical twin setup code (similar with the one in the forum)
var T1 = myDiagram.findNodeForKey(identicalTwin[0].key);
var T2 = myDiagram.findNodeForKey(identicalTwin[1].key);
var TPL1 = T1.findTreeParentLink();
var TPL2 = T2.findTreeParentLink();
var TLN1 = $(go.Node);
TLN1.labeledLink = TPL1;
TLN1.segmentIndex = -2;
TLN1.segmentFraction = .5;
myDiagram.add(TLN1);
var TLN2 = $(go.Node);
TLN2.labeledLink = TPL2;
TLN2.segmentIndex = -2;
TLN2.segmentFraction = .5;
myDiagram.add(TLN2);
var TL = $(go.Link, {
isLayoutPositioned: false,
isTreeLink: false
}, $(go.Shape, {
strokeWidth: 2,
stroke: "black"
}));
TL.fromNode = TLN1;
TL.toNode = TLN2;
myDiagram.add(TL);
Posts: 2
Participants: 2
Read full topic
↧
October 31, 2018, 9:20 pm
@kswamy15 wrote:
I am trying out your example dataflow.html (https://gojs.net/latest/samples/dataFlow.html) and made the node resizable to be able to resize the nodes. But when I resize, the panel inside the node doesn’t resize. How do I make the panels inside the node resize as I resize the node?
Thanks,
Posts: 1
Participants: 1
Read full topic
↧
November 1, 2018, 1:23 am
@no_one345 wrote:
i m using this sample as base diagram
https://gojs.net/latest/samples/treeMapper.html
1-> i need to increase the spacing between node but when i increase node spacing it only works on same level children the spacing between first child and parent remain the same for reference consider the following fig
![Screenshot%20from%202018-11-01%2013-17-55]()
i need spacing between alerts-allergy-agent code
2-> i need to make the main nodes that contain the tree to be of fixed size and induce scroll for overflow if it happens
right now the scroll is on the main div of diagram i need it to go away rather than the scroll in the 2 nodes in left and right for reference
Posts: 1
Participants: 1
Read full topic
↧
November 1, 2018, 2:45 am
↧
↧
November 1, 2018, 2:49 am
@no_one345 wrote:
i want to delete the selection on click of a context menu button
upon clicking this delete i get an error
Posts: 4
Participants: 2
Read full topic
↧
November 1, 2018, 3:11 am
@biswa wrote:
Link are not responsively connected.
Please check the image
![link]()
I want like the following image
![link]()
It is happening when node is rotating.
how I can do this?
Posts: 9
Participants: 2
Read full topic
↧
November 1, 2018, 5:40 am
@biswa wrote:
After Drag an element onto a element , how to move new node?
How to avoid override on nodes?
How to separate them in different position?
Is there any solution for this?
Posts: 2
Participants: 2
Read full topic
↧