Disable delete for single shape
@kannanprs wrote: I need control delete for particular shape not for diagram area. please find my code. gradBorderIndicatorTopLeft =$$(go.Node, "Spot", new go.Binding("zOrder"), { zOrder: 0 }, {...
View ArticleHow to drag nodes with adornment handles
@lex wrote: I'm creating nodes that just consist of a single line. When starting to drag from the node, links are created. This is ok. However, I can't drag the node anymore, so I created an adorment...
View ArticleHow to show a selection adornment only on a part of the selected node
@lex wrote: Since there are two properties, "adornedPart" and "adornedObject" it seems that it is possible to show an adornment around a certain graphical object of a node. Maybe this is related to...
View ArticleHow to add bullet & indent tool in text box when double the click the text
@kannanprs wrote: My requirement is the user enter and select text after double click the text. it should display tool bullet & indent tool font editing tool like Microsoft word. Posts: 1...
View ArticleMake all rows height be fixed in a table
@angular2 wrote: I have a rows in table populated from a data array rows are not fixed but dynamic.Below code hardcodes the rows, how can I achieve height 15 for all "n" rows?$(go.RowColumnDefinition,...
View ArticleCopy a node
@Ale9582 wrote: Dear Sir, I was experimenting with gojs, especially with Uml Class example, and wanted to know if there is a way to block the copy of a selected node (or what happens with ctrl + c and...
View ArticleButton for add Item in ItemsArray
@Ale9582 wrote: dear sir, i have this situation: function convertVisibility(v) { switch (v) { case "public": return "+"; case "private": return "-"; case "protected": return "#"; case "package":...
View ArticleMargin between Buttton and Image
@tejbir wrote: Hi, I am putting a image inside a Button. But there is a margin between image and button. Can you tell me how to remove that margin?Thanks a lot Posts: 8 Participants: 2 Read full topic
View ArticleTrying to show an icon
@kannanprs wrote: Thanks for your response. My requirement is text block need to be display with "file" icon (like software installed icon). I have created textblock with shape and included icon...
View ArticleIs there way to represent palette in the form of dropdown so we can choose...
@suprith_sa wrote: I have a palette using which will drag and drop the node now, but i want to switch to the concept of dropdown instead of palette, where i can select a node and drop it on the...
View ArticleFlipping shapes like rectangle,circle,triangle
@akash1 wrote: Hi,How can i implement the flipping functionality for the shapes.I made these shape using simple json data nodeDataArray = [ {fig: "Rectangle",fill:"transparent",size:"70...
View ArticleConnecting links to groups
@cyordan wrote: Hello, I am trying to use a group as an aggregation, I need that group can be linked by another shape. How can I do it??? Something like this example agg.png1280x720 4.73 KB Posts: 3...
View ArticlePage goes blank when we set Diagram Div Height as 100%
@mohanr.k wrote: I observed that my page is blank and diagram is not displayed when I tried to to set Diagram Div Height as 100%. I referred the solution provided in below link and div's all parent...
View ArticleChange color button background
@Ale9582 wrote: i'm little new with go js and i don't understand how, is its possible, i can change a color button background or just the shape inside it, my proble is assing to a node the color shape...
View ArticleDynamic ports for custom template
@suprith_sa wrote: Hi, i have a node for which i can i add dynamic ports as shown below. i am able to add left and right ports dynamically but not able to add the top and bottom ports in proper spot...
View ArticleText not resizing on resizing node?
@riya1 wrote: HiI am using gojsNode and text property bind with it.On resizing node i want that text should be resizable. Posts: 4 Participants: 2 Read full topic
View ArticleRestoring node location when collapsing a group
@Tany wrote: Hi,I have a group of group nodes which a are layered in a grid.As soon as i expand one of the nodes i want the other group nodes to move a side.When i close (collapse) the group i need to...
View ArticleTS compile of go gives error TS2345
@kgentes wrote: I have a working angular app that imports the go library like so: import * as go from 'gojs/release/go-debug'; Everything using the go-debug version of the library is fine and works...
View ArticleBinding value to geometryString in link template
@Tany wrote: Hi,I'm trying to bind value to geometryString in link template but it does not bind.Here is the code,Please advise. var linkDataArray = [ { from: "4", to: "1", xx: "M0 0 L1 0" }, { from:...
View ArticleAvoiding nodes when linking the ports on nodes
@Ank wrote: Hi everyone,I am linking some ports that i have on the nodes and the links are not avoiding the nodes and i have already set routing: go.Link.AvoidsNodes .So what am i doing wrong ? Here...
View Article