Selection box larger than expected
@dev wrote: Below is the format portion of my node template - when I change nodeWidth and nodeHeight, the selection box outline remains the same. What am I not understanding about the width and height...
View ArticleHiding/Showing parts of panel
@cebryuni wrote: good afternoon. I need to hide/show dynamically elements of a panel, I'm not sure if its as easy as changing the visible attribute of the desired element, and if so... will the panel...
View ArticleDynamically named panels
@cebryuni wrote: Hi. I would like to name a panel with the id of the corresponding entity it represents. Something along the lines of gMake(go.Panel, "Auto", new go.Binding("name","id") ... ), however...
View ArticleChanging mouse movement from drag to draw a new link
@ahmetgundogdu wrote: Hi, how to connect the start of a drawing process to a key.My nodes is " fromPort:go.Spot.AllSides", "toPort:go.Spot.AllSides",It is a bit troublesome to start drawing in this...
View ArticleAdd/remove button in ContextMenu
@Giosk wrote: I created a Diagram with node and links and what I'm trying to do is to add and remove button in the contextmenu.The structure is so simple and I create the menu buttons with this...
View ArticleCustom Events
@cebryuni wrote: Hi, i would like to trigger an event when the link path is recalculated (IE the link is dragged or a the path is changed or one of the endpoints is dragged, etc...). AFAIK I'd do that...
View ArticleAvoid nodes between nested groups
@Tany wrote: Hi,I have nested groups use case. In the attached picture, node # 12 in Group D2 is connected to node #1 in group B.How can tell gojs to avoids the in between nodes and bypass node #11,...
View ArticleLink location when connected to a port
@Tany wrote: Hi,I'm using portShiftingTool to move and connect ports.When i use auto layout, sometimes the links are located to the left of the port (see left node) or to the right of the port (see...
View ArticleFind the connected Link from port
@Tany wrote: Hi,I'm trying to customize the doMouseUp function on PortShiftingTool in order to relocate the link end relative to the port location, as soon as the port is moved.When i stop (break...
View ArticleMerge several links to one link
@Tany wrote: Hi,In case that i have several links connected between several ports of nodes,for example, i have two nodes with 4 ports each. Those two nodes are connected to each other via the 4 ports...
View ArticleProblem with Shape and Geometry
@Giosk wrote: I created a Shape with a geometry inside like this: $(go.Shape, { row: 1, column: 0, geometry: okIcon, stroke: "#97c167", width: 25, height: 25, }), const okIcon = go.Geometry.parse(...
View ArticleGoJS version 1.8.12
@walter wrote: Added search functionality for classes and members in the API documentation. Fix for Geometry.parse when numbers containing alphabet characters (such as 4E-06) are present. Updated...
View ArticleAdding new nodes after removing others doesn't work
@Giosk wrote: I'm using react and gojs and I implemented a GraphLinksModel that fits perfectly my needs. I'm using the contextMenu and after clicking on a button, if this is the root, I clear all the...
View ArticleClose button under selection in gojs selected node
@temp1e wrote: I have a gojs diagram with node selection enabled. The area is specified as $(go.Node, 'Spot', new go.Binding("location", "loc", go.Point.parse).makeTwoWay(go.Point.stringify), new...
View ArticleHow do I know if a CheckBox is checked or unchecked?
@JasonLee12345 wrote: I know that you can use go.GraphObject.make to create a 'CheckBox' and usually people do '_doClick' call to execute some code. But if there is a way of getting the status of the...
View ArticleHow to use new go.Binding() to bind CheckBox's checked or unchecked attribute?
@JasonLee12345 wrote: Is there a list of CheckBox's attributes that I can reference to? Posts: 2 Participants: 2 Read full topic
View ArticleReuse the location of a node when calling diagram.rebuildParts()?
@schludi wrote: Problem: I have a select box and on change I get the selected option value, which contains a comma-separated string of node keys that should be visible...
View ArticleAlign Center X across Shapes - when text is aligned using Spots
@Rajeshpatil74 wrote: In following fig - there are two scenarios where textAlign property value is shown. image3.png1683x587 29.2 KB With first figure, the Spot uses only the position on node where...
View ArticleHow to differentiate custom context menu for different node (sharing a same...
@JasonLee12345 wrote: Encounter with a problem with implementing my own custom context menu. Overall, it's working. But I put a checkbox in the context menu and this context menu is shared for all...
View ArticleQuestions about resizing the group
@xxx wrote: Hi,The effect before dragging the text:The effect after dragging the text:The pink highlighted area should be the actual size of the group.The black box is the boundary of the group, and I...
View Article