Shape should be in center when resized
@Rajeshpatil74 wrote: Following is the codepen link In the model used - "First Document" do not use any textAlign or textAlignFocus values, and shapes looks nice with centered text.But when resized,...
View ArticleCalculating the distance that an object was dragged
@Tany wrote: Hi,Is there any way to calculate the distance that an object was dragged ? Regards,Tany Posts: 3 Participants: 2 Read full topic
View ArticleHow to save a gojs diagram image with highlighted selections
@JasonLee12345 wrote: return this.myDiagram.makeImage({ scale: 1, background: 'white', maxSize: new go.Size(bounds.width, bounds.height), type: 'image/png' }); So my question is that this function...
View ArticleThe custom inspector
@xxx wrote: https://gojs.net/latest/extensions/DataInspector.html Hi, Can I customize inspectors style?For example, English is changed to Chinese, and such as loc:0 0 to become X: 0 Y:0?Font can be...
View ArticlePortShiftingTool and LinkShiftingTool collaboration
@Tany wrote: hi My project involves links that are connected via ports.The user can place the ports any where around the node using the PortShitingTool.Sometimes the user is moving nodes, so i wants...
View ArticleRestrict Zooming to Horizontal Zooming only
@nitin291989 wrote: How to restrict Zoom In/Out Grid Diagram to Horizontal(Keeping GridCell height same) or Vertical(Keeping GridCell width same) Zooming only? Currently, using the following "button"...
View ArticleTooltip in iPad
@sidhartharaj wrote: Is it possible get tooltips in iPad.?if its there,how to get the toottip on click of each node.. Posts: 2 Participants: 2 Read full topic
View ArticleRe add the ports to node
@mohanr.k wrote: Want to know if it is possible to re add the ports to node at later stage. If so could you please provide the sample code Lets say I have below code which adds ports during node...
View ArticleCallback for makeImageData function not called!
@sharpost wrote: I am using sample below to download diagram as image file, using makeImageData functionhttps://gojs.net/latest/samples/minimalBlob.html Due to some reason, the callback function is...
View ArticleSync Diagram Properties
@mohanr.k wrote: I have a functionality to export diagram data to json file and re load the diagram into browser by importing the previously exported json data. Added new properties to diagram after...
View ArticleRightToLeft for a diagram with base layout
@javratka wrote: Hello,i implemented a gantt chart similar to your example with days and hours graduated nodes (https://gojs.net/latest/samples/gantt.html). And just like the example, i use no...
View ArticleGenogram: relative positioning after sorting
@cbun wrote: I've tried multiple ways to enforce ordering in complex genograms (e.g. presorting nodes / marriages), and the only solution I've found that works is to delete and re-add vertexes in the...
View ArticleCentralize on Node
@TricksterX wrote: Hello! I'm using the 1.5.23 version of GoJs, and I'm trying to build a function to centralize the canvas on a given node. My approach is an attempt to solve the following scenario:...
View ArticleHow to extends GoJS methods in Angular 2+ (ParallelRouteLink extension example)
@JasonLee12345 wrote: import { Component } from "@angular/core"; import * as go from 'gojs'; @Component({ selector: 'app-ParallelRouteLink' }) export class ParallelRouteLink extends go.Link {...
View ArticleThe node in the tree view shrinks
@Allie wrote: I use the "TreeExpanderButton" panel in the tree view node template to implement the expand / collapse button, and I want to display the first and second level nodes during...
View ArticleMaking group top left stay fixed when adding node
@MartinWillitts wrote: I am using the regrouping example to explore this. I would like to be able to place items where I like so I have changed the diagram to use Layout instead of GridLayout. When I...
View ArticleHow to make sure links are connected to both nodes
@sharpost wrote: In my tree layout, i have changed node template. Due to this some links are not connected to its nodes. Is there a way to make sure that all links are connected to their nodes ? ~...
View ArticleProviding a label to all selected entities, after leaving control key
@shivam wrote: Hello Support, To create a CANVAS, I am using GOJS in my project. So now I am facing a problem, suppose I have dragged 10 shapes, now I want to provide a label to 4 shapes from dragged...
View ArticleShfting node Left OR Top move the parent group node
@Rajeshpatil74 wrote: Please find the attached clip to know the issue. Also at the end the group template is shown. https://1drv.ms/v/s!AoQLkDN195srsBz9xUlHxlei7y0K At the start moving on node to...
View ArticlePrevent Auto resizing the group
@Rajeshpatil74 wrote: In sample - https://gojs.net/latest/extensions/Table.htmlwhen nodes moved outside the groups, it is not allowed to move - which is correct.Also nodes can be moved from one group...
View Article