Comments (2)
The layout.Gridlayout
defaults the dx
and dy
values to 0
. The options are deprecated in favor of marginX
, marginY
, rowGap
and columnGap
.
The u.Stencil
is calling the GridLayout
and set the dx
and dy
values to 10
if not provided through the layout
option. This will be removed in the next major (breaking) version.
You should set it explicitly to zeros now and when the 4.0
is out, you can remove it.
layout: {
columns: 1,
rowHeight: "compact",
rowGap: 10,
columnWidth: 100,
marginY: 10,
// Below only required for versions prior v4.0
resizeToFit: false,
dx: 0,
dy: 0
}
from joint.
Oohh, I see. Indeed, it is the Stencil plugin that is passing these values. Thank you!
from joint.
Related Issues (20)
- [Bug]: renderFieldContent Function Not Working as Expected HOT 2
- [Bug]: Each object assigned to portProp makes the diagram slower to render HOT 2
- [Bug]: Unsupported URL Type "workspace on @joint/[email protected] HOT 1
- Unable to get Selectors to animate my Customized Link HOT 2
- Rendering issue when paper is loaded in background. HOT 2
- [Bug]: Grid-layer display only one when two or more papers exist at the same time
- [Bug]: contextmenu in V4 is not default-preventable HOT 11
- [Bug]: JJ+ stopped rendering CSS when exporting to PNG (possibly other formats too) HOT 7
- [Bug]: texWrap does not take SVG attributes into account HOT 13
- Command manager is saving the entire attrs object on each attr() call (unexpected behaviour?) HOT 4
- linkTools.Vertices: prevent vertex creation on labels
- Visio export not adding images HOT 4
- [Bug]: elementTools displacement when applying scaling HOT 2
- [Bug]: Link anchor not working correctly for custom shape HOT 2
- [Bug]: Highlighter path miscalculation with ports (only in Safari) HOT 2
- [Bug]: Can't import the named export 'V' from non EcmaScript module (only default export is available) HOT 1
- [Bug]: Changing link target or source breaks CommandManager in Angular HOT 4
- Unable to display tooltip when toggle fullscreen HOT 12
- [Bug]: paper 'render:done' event no longer fires after unfreeze HOT 2
- [Bug]: graph.fromJson resets undo/redo in commandManager with jointJS Plus 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 joint.