Support for Unconnected Links in Groups
@esimmons wrote: Currently we are unable to set the containingGroup property of a link. Will this be possible in the future? We have a need to allow users to create unconnected links (with respect to...
View ArticleDisplay cursor position in realtime
@calebat wrote: Is there a way to display the position of the cursor (in pixels) in realtime? I tried to find a way to do it but was unsuccessful. Posts: 3 Participants: 3 Read full topic
View ArticleIs possible to auto fit the texts in node
@JP wrote: Hi, In gojs, is that possible to auto fit the text's in node based on text passing like 'PEN', 'RATES'In those diagram's I have hardcoded height, spacingAbove and made those nodes. Can I...
View ArticleHtml text in nodes
@kasga wrote: Hi there,I just want to know if it's possible to fill the nodes with text and if there is html among the text, then render it as html and not just display it as plane text? We have a lot...
View ArticleHow to prevent diagram from moving when dragging
@MJ wrote: Hello, When I drag, I want the node to be selected without the diagram moving. I applied the code below but it does not work. this.myDiagram.toolManager.draggingTool.isEnabled =...
View ArticleWhen node is moved how to find the origin group
@girofix wrote: Hello when a node is moved from groupA to groupB how to find the groupA name (diagram.selection keeps info about groupB only) thanks in advance Posts: 2 Participants: 2 Read full topic
View ArticlePaste to current cursor position
@chzh.austin wrote: I realize the paste behavior adding the copied node on its old location, which means overlapped. For example, https://gojs.net/latest/samples/minimal.html How can I paste the node...
View ArticleLicense Issue for studying
@mrpink007 wrote: Hi everyone!I wanna ask about the license of using GoJSIs it legal if i use GoJS for studying?For more details, I use GoJS for making a demo project for graduating from a university....
View ArticleUse of ToolTip during Link Validation
@pistolShrimp wrote: During Link Creation, I have a method checkLink, which validates formation of a link between any two nodes.My requirement is, I want to show a text (error Message/Explanation) to...
View Articlenode.expandTree probelm
@alice wrote: The node has three levels.IsTreeExpanded must be true, the node is added when the tree button is clicked node.expandTree(5); I have the following problems. The tree button is displayed...
View ArticleInitial layout issue
@lfrederic wrote: Hi, We have a fairly simple diagram using a ForceDirectedLayout to show relationships between elements in an underlying business model. A node's location is in a two-way bind with...
View ArticleRemove panel elements
@invlol wrote: I'm trying to remove all elements inside a panel using the following code var nodeLinks = nodeData.findObject('nodeLinks'); var elemToRemove = []; _.each(nodeLinks.elements, function...
View ArticleSecond diagram is not getting displayed
@ssp wrote: Hi, I tried creating 2 different DIVs for 2 different diagrams. But the second the is not getting displayed. Any idea what might be causing this? Thanks! Posts: 4 Participants: 2 Read full...
View ArticleTooltip Hide
@maligan wrote: I want to hide tooltip when no tooltip value exist , toolTip: goJ(go.Adornment, "Auto", { isShadowed: true,shadowColor:"#cccccc",shadowBlur:8}, goJ(go.Shape, { fill: "#f9f9f9" }),...
View ArticleMove link from shape to shape
@danielt wrote: Hey, When I drag a link that already connected to shape and try to move it to other shape the link not able to connected.I attach image that for explanation:1. The current diagram...
View ArticleCan I change node's toolTip dynamically?
@Kevin68 wrote: I define toolTip in noteTemplate: {toolTip: // define a tooltip for each node that displays the color as text $(go.Adornment, "Auto", $(go.Shape, { fill: "#FFFFCC" }), $(go.TextBlock,...
View ArticleHow can I copy a subtree with a link to the original parent?
@warren.reed wrote: Hi I'm using a GoJS diagram together with an instance of go.GraphLinksModel. I'm trying to copy and paste a subtree and preserve the link to the original parent. I've set...
View ArticleRefresh Graph
@maligan wrote: I am making some changes to node template dynamically . how to refresh the graph . Posts: 1 Participants: 1 Read full topic
View ArticleMakeBitmap changes the ViewportBounds of the diagram
@lise wrote: Hello Walter. In my application from the recent ticket Zoom to and center a specific node I'm creating a bitmap from the final diagram. As a small recap: We have a navigation with...
View ArticleUse two extensions
@gpa wrote: Hi,I want to use two extensions: - DrawCommandHandler - LocalStorageCommandHandler I'm using the extension in this way: window.myDiagram = $(go.Diagram, "myDiagram", { nodeTemplateMap:...
View Article