Is there a way to set equal width and height for blocks of a gojs diagram ?
Like in the below diagram, i want the two rectangular blocks to be of same size, irrespective of the text they contain.
Can we achieve this ?
Is there a way to set equal width and height for blocks of a gojs diagram ?
Like in the below diagram, i want the two rectangular blocks to be of same size, irrespective of the text they contain.
Can we achieve this ?
I believe setting the minsize and maxsize property does the trick, but the what to do if i want to show only a part of text in the box (Block 2), and then show the remaining part of text on hover or some other event as a tooltip?
You might benefit from reading GoJS Sizing of GraphObjects -- Northwoods Software and GoJS Tooltips -- Northwoods Software.
Also, GoJS Ports in Nodes-- Northwoods Software should be helpful – the section about “Single Ports”.