Comments (1)
Thanks for reporting the non-optimal HTML in that sample. Here's what will be in 1.8.7, which will be released within a week or so.
<div style="width: 100%; display: flex; flex-wrap: wrap">
<div>
<div id="myDiagramDiv" style="border: solid 1px black; width:350px; height:300px; margin: 0 2px 0 0"></div>
<p>
<label><input type="checkbox" onclick="allChecks()" id="MD1allowDragOut" />allowDragOut</label>
<label><input type="checkbox" onclick="allChecks()" id="MD1allowDrop" />allowDrop</label>
<label><input type="checkbox" onclick="allChecks()" id="MD1isReadOnly" />isReadOnly</label>
</p>
<p>
<label><input type="checkbox" onclick="allChecks()" id="MD1allowCopy" />allowCopy</label>
<label><input type="checkbox" onclick="allChecks()" id="MD1allowDelete" />allowDelete</label>
<label><input type="checkbox" onclick="allChecks()" id="MD1allowInsert" />allowInsert</label>
<label><input type="checkbox" onclick="allChecks()" id="MD1allowMove" />allowMove</label>
</p>
</div>
<div>
<div id="myDiagram2" style="border: solid 1px black; width:350px; height:300px"></div>
<p>
<label><input type="checkbox" onclick="allChecks()" id="MD2allowDragOut" />allowDragOut</label>
<label><input type="checkbox" onclick="allChecks()" id="MD2allowDrop" />allowDrop</label>
<label><input type="checkbox" onclick="allChecks()" id="MD2isReadOnly" />isReadOnly</label>
</p>
<p>
<label><input type="checkbox" onclick="allChecks()" id="MD2allowCopy" />allowCopy</label>
<label><input type="checkbox" onclick="allChecks()" id="MD2allowDelete" />allowDelete</label>
<label><input type="checkbox" onclick="allChecks()" id="MD2allowInsert" />allowInsert</label>
<label><input type="checkbox" onclick="allChecks()" id="MD2allowMove" />allowMove</label>
</p>
</div>
</div>
<div>
Using the Robot extension class:<br />
<button onclick="dragBetaAcross()">Drag Beta across</button><br />
<button onclick="copyBetaBack()">Copy Beta back</button>
</div>
from gojs.
Related Issues (20)
- SerpentineLayout.js 没有export HOT 1
- Fixed a regression in Diagram.makeSvg from 2.1.49 when using a Panel.Spot with Panel.isClipping set to true, where some elements would get grouped and positioned incorrectly.
- A bug in 2.2.12, when calling Diagram.makeSvg, link.geometry.figures might be null. HOT 1
- Minimal sample diagram not visible HOT 1
- TypeError: a.forEach is not a function HOT 3
- Too much data crashes the browser HOT 2
- How to get Name Key onclick marker leaflet HOT 1
- Getting issues in GuidedDraggingTool.ts HOT 1
- Please provide the source code for the Data Flow (vertical) for the angular project HOT 1
- Using gojs in node to render large layouts on the server side HOT 1
- Orthogonal + Grid Snap = Jank HOT 1
- "Error: GraphObject.make requires a class function or GoJS class name or name of an object builder, not: ScrollingTable" HOT 1
- Inconsistent snap with default grid, default gridSnap, and objects of different widths HOT 1
- Last
- when the parent node uses scaling, the gojs click event will cause an error HOT 1
- dwg support HOT 1
- Change the origin of the diagram's coordinate HOT 1
- Extracting user data for graphs/flowcharts rendering HOT 1
- Support and integration of GoJs to Excalidraw Elements HOT 2
- Compile warnings generated when using esbuild HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gojs.