How to move node to other parent by dragging on tree
@MJ wrote: Hello, I want to change node's parent by dragging.on tree For example, when I drag item14 to item12, item14 will be placed under the item12. (It works like directory browser.) Is there an...
View ArticleGetting TextBlocks of Panel in GoJS
@nvcc wrote: I need some help with GoJS. I'm working with the sample on this page in SubGraphExpanderButtons section. For example, I want to set color of all TextBlock in a group to red by clicking...
View ArticleDebugging infinite loop
@david0 wrote: Hi, I am occasionally running into this infinite loop while dragging nodes: go.js?body=1:1007 Uncaught RangeError: Maximum call stack size exceeded v.defineProperty.b @...
View ArticleSelectionDeleting Event is running when i double click on link
@chinenyem wrote: Hello I created a SelectionDeleting Event, which is working. However when I double click on a link it says g is null. The double clicking on a link it totally seperate from the...
View ArticleUpdating link data. Unique link key
@anvlkv wrote: Hi! In our app user can create links between nodes. When link is created app sends a request to the server and receives more data which should be displayed on link. I'm trying to use...
View ArticleUsing gojs with reactjs and redux
@maciekm wrote: Hi, I'm trying to use go.js with react and redux. I want to have my graph model stored in redux store and I'd like to be able to change this model from outside of go.js (for example...
View ArticleHow come I coundn't drag one node from palette into diagram?
@Kevin68 wrote: There are one diagram and one pallette. I tried to drag one node from palette into the diagram, but as sonn as the dragged node gets into the diagram above, it stays invisible. Pleast...
View ArticleDo layout behaviour is changed
@devsoni41 wrote: self.canvasContext.diagram.layout.doLayout = function (coll) { go.LayeredDigraphLayout.prototype.doLayout.call(this, coll); self.createBoundary(); // this method is creating boundary...
View ArticlePaper Setup and print setup
@Ank wrote: Hi,I want to know that how can I provide options regarding the paper setup (page size and orientation) and print setup before the browsers default print page appears when i try to print...
View ArticleTreeLayout crosslink
@webspinner wrote: Hello there, I would like to perform a trick inside a groupTemplate that uses TreeLayout.I want to connect two nodes without letting the layout to arrange them as parent and child,...
View ArticleHow to set start transaction commit time in Gojs
@Richard wrote: I need to do commit the some time delay on my diagram.model.json , for undo and redo purpose.while changing the model are dropped to the object in the diagram area without time delay...
View ArticleTestAutomation of GOJS with selenium
@bhushan_pawar wrote: We are in a process of evaluation of replacing SVG canvas with GOJS,but before doing that we have to also check ,GOJS UI testing can be automated with selenium webdriver or not...
View ArticleTreeLayout not considering node's location
@rameshtm wrote: Hi All, I use GOJS ER Diagram sample with Layout as TreeLayout. I have set node's location data and IsInitial as false and isOngoing as false and diagram is not positioning based on...
View ArticleHow to resize one node with dynamic port?
@Kevin68 wrote: Based on this sample: https://gojs.net/latest/samples/dynamicPorts.html, I just add one line "resizable: true," in myDiagram.nodeTemplate part. after that, as soon as I resize one node...
View ArticleClustering subtrees in force directed subtrees
@EvilProfesseur wrote: I'm trying to make subtrees of a force directed layout more discernible, preferably through distancing them from the parent cluster. I figured the best way would be to...
View ArticleCentering of title of group
@nvcc wrote: I'm using one of your sample with some changes: diagram.initialContentAlignment = go.Spot.Center; diagram.groupTemplate = $(go.Group, "Auto", $(go.Shape, "Rectangle", { fill: "gold" }),...
View ArticleAfter copy pasting addModelChangedListener is not calling?
@chinna wrote: Hi, After Copy and Pasting Object addModelChangedListener is not working. because of that tree view is not updating. but after refreshing diagram the tree view is working properly.i...
View ArticleIs it possible to add any gojs shape on the edges of tree layout group
@pistolShrimp wrote: I have a dynamically constructed tree layout group.My requirement is to add a gojs shape on the edge of the group on either of the sides.How can we do it in go js.I tried adding...
View ArticleBrowser is Hanging when Large diagram is loading
@Narendra wrote: Hi walter, I'm storing Diagram JSON in sessionStorage.setItem("GUID" , JSON.stringify(DiagramJSON)) , while I'm reading from sessionStorage.getItem("GUID") browser was hanging , So...
View ArticleChange events not being recogned
@chinenyem wrote: So I created a file upload funtion in a bootstrap modal. The person uploads a spreadsheet of data. It is sent to the server from the browser and then returns a json to me to...
View Article