@nebula.js/sn-layout-container
v4.15.0
Published
The layout container object has a canvas that can hold multiple objects. In this container you can freely move objects around, as well as position the objects on top of each other or overlapping.
Readme
sn-layout-container
The layout container is a nebula based chart that allows for free form layouting of child objects/charts.
Contribution
Information about developing and contributing can be found in our contribution guide.
Building
Run the following commands from this package directory.
Run pnpm generate to generate the TypeSpec JSON Schema at tsp-output/@typespec/json-schema/sn-layout-container.json. The prepare lifecycle script also runs pnpm generate during installation.
For a production build, run:
pnpm buildThis runs tools/copy-json-schema.js before nebula build, copying the generated schema to api-specification/sn-layout-container.json. If the generated schema is missing, the copy script uses the existing schema in api-specification; it fails if neither file exists.
For a development build, run pnpm build:dev. This command does not copy the JSON Schema.
Usage
npm install @nebula.js/sn-layout-container