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 ArticleUndoManager problem when deleting links
@meilens wrote: Hi, I've got a problem using the undo manager when the user removes a link (either usinig the delete key or an action clicking a button which Triggers CommandHandler.Delete). If the...
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
@nagesh222 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...
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 ArticleHow can I set the intial positon of the relayout subgraph?
@Z.Tom wrote: My costomers want to relayout the nodes that are in seletion,so when nodes are seleted,I set the the others nodes that are not seleted LayoutId=null,and I get the effect that nodes who...
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 ArticleResizingTool and MultiSelect
@AndyP wrote: Hi,is it possible to implement a ResizingTool, where we get an additional surrounding Adorner, so that we control the resize of all selected nodes relativ to their OriginalLocation and...
View ArticleImplement print preview functionality
@gpa wrote: Hello, if user want to preview before start printing, then how can it be implemented? thanks Posts: 4 Participants: 2 Read full topic
View Article