How 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 ArticleProblem with image export
@slasia wrote: Hi! I have a problem. Hi I have this code for export my diagram to image ` SaveFileDialog sd = new SaveFileDialog(); sd.Filter = "Imagenes (*.bmp)|*.bmp"; if (sd.ShowDialog() == true) {...
View ArticleMultiple object resize
@David wrote: Hi I want to resize my multi GoObjects all together. When I resize two objects using resize handle, just only one object is resized I use my New Class public class MyToolResizing :...
View ArticleDragSelection of Nodes
@AndyP wrote: Hi,I have a template for my node with a Label-Control in it.Now the text in the label is very long. But the size of the node is much samler than needed to fully display the text. If I...
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 ArticleGoToolCreating
@David wrote: Hi When I add a new object in GoView, I want it shape square When Mouse moving with Shift Key, it should be changed square shape (both height and width are same) I use my New class and...
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 ArticleMakeBitmap results in missing/wrong Nodes
@lise wrote: Hello, After creating a Diagram, MakeBitmap is called on the following diagram: diagram.png1786x892 388 KB This is actually a node, whose template contains a large background image:...
View ArticleDifferent Link behaviour after node rotated
@JP wrote: Hi, In this sample, http://gojs.net/latest/samples/draggableLink.html. A link drawn from right side of node before rotating: A link drawn after the node rotated: After node rotated, link...
View Article