Double tree layout for family relationship
@TusharSagar wrote: Hello,I want to achieve something like below For this i have used the double tree structure with the code mentioned below// create the model for the double tree myDiagram.model =...
View ArticleDo something on textblock focusout
@ankitjaipur1990 wrote: How can I trim text of textblock while focusing out? Posts: 2 Participants: 1 Read full topic
View ArticleHorizontal scroll in flowchart example
@shameer.sheik wrote: Continuing the discussion from Diagram not scrolling horizontally to fully cover the diagram: naveen: Thanks Walter! I updated the bounds with the actualBounds and it seems to...
View ArticleFind whether a port is occupied?
@shameer.sheik wrote: How can i know if a port in GraphLinksmodel is occupied or not. in the example http://gojs.net/latest/samples/flowchart.html , lets say I want to know whether a link is using...
View ArticleGetting Error when try to select key from diagram using Selenium
@rahul wrote: I am trying to select key from diagram using Javascript and Selenium webdriver but getting error : unknown error: Cannot read property 'findNodeForKey' of undefined My Code : if...
View ArticleIs there a way to set equal width and height for blocks of a gojs diagram?
@sachkumar wrote: Is there a way to set equal width and height for blocks of a gojs diagram ? Like in the below diagram, i want the two rectangular blocks to be of same size, irrespective of the text...
View ArticleHighlight links between nodes
@lipuabhishek wrote: Hi, I have a array of node keys. I am selecting the nodes contained in this array.Is there a way I can just highlight the links between these nodes ? Eg. array = {-1,-2,-3}I want...
View ArticleHow can I set property?
@st wrote: ...function treeon() { myDiagram.toolManager.draggingTool.dragsTree = true;} ....$("ContextMenuButton", $(go.TextBlock, "Tree On"), { click: function(e, obj) { treeon(); } }),.....it can...
View ArticleReimplementing GoJS context menu in HTML
@walter wrote: Hi previously am using gojs Context Menu Button now i need to converted this code into Html context menu using gojs... Please help me how to do it... var nodeMenu = // context menu for...
View ArticleHow can I disable stateChart edit mode?
@Engincode wrote: How can I disable edit mode? Posts: 8 Participants: 2 Read full topic
View ArticleIs there a way to copy selected nodes of GoJs diagram upon button click?
@sachkumar wrote: I want to copy selected nodes of a gojs diagram from one canvas upon button click and then paste it onto another canvas, is it possible ? Posts: 9 Participants: 3 Read full topic
View ArticleDetecting duplicate nodes on an external drop
@walter wrote: Continuing the discussion from Highlight links between nodes: lipuabhishek: Great. This solved my problem. I have another question though: Is there any way I can detect duplicate start...
View ArticleProblem making TextBlock inside a Node resizable
@ebbnormal wrote: So I have the following NodeTemplate here: var texttemplate = GO(go.Node, "Horizontal", {resizable: true, resizeObjectName: "TEXTBLOCK", selectionObjectName: "TEXTBLOCK"},...
View ArticleUndomanager to skip default delete method
@shameer.sheik wrote: Hi, I want the undomanager to skip the default delete method( transaction that is called when link/node is selected and delete key is pressed). This way if a link/node is deleted...
View ArticleQuestion About Tools
@cbh wrote: I have a question about tools. Can more than one mousemove/dragging tool operating simultaneously? Consider the GuidedDraggingTool used in conjunction with the NodeLableDraggingTool Does...
View ArticleGoJS version 1.6.3
@walter wrote: Changes for 1.6.3:- Fixed an exception in CommandHandler.showContextMenu when passed an argument.- Fixed adornment invalidation when a Part switches from a visible layer to an invisible...
View ArticleViewport on click tries to come into view
@shameer.sheik wrote: Hi, When the div(MyDiagram in most of the examples) is clicked (when the div is not completely visible) , it tries to centralise the div. How do I remove this behaviour ? example...
View ArticleCan we put a validation to prevent circular reference in Go JS diagram
@hridya wrote: Please refer the uploaded figure where in after the process block , it is re linked to "A" block resulting in a circular block. Is there a way I could prevent adding such a reference in...
View ArticleLinkDrawn Event Not Firing
@cbh wrote: I am using the pipes example. I insert a LinkDrawn listener: myDiagram.addDiagramListener("Modified", function(e) { var button = document.getElementById("SaveButton"); if (button)...
View ArticleHow to exchange display order in a diagram by using javascript?
@sfrtrd wrote: Such as : there are tow or more sheaps in the diagram,they have to cover eatch other,I want to use javascript to exchange their display order at the z-axis.how to do this? Posts: 2...
View Article