/** * The {@link Layout} module facilitates creation of UI layouts containing visualisations. * * @module Layout * * @example * ```typescript * // use a DictType stream * const stream = Stream( * "My Stream", * DictType( * StringType, * StructType({ * string: StringType, * date: DateTimeType, * float: FloatType, * min_float: FloatType, * max_float: FloatType, * integer: IntegerType, * boolean: BooleanType, * }) * ) * ); * * // use a writable DictType stream (PrimitiveType) * const writeable = Stream( * "My Writable Stream", * DictType(StringType, FloatType), * true * ) * * // create a table in a layout * const layout = new LayoutBuilder("My Layout") * .table("My Table", builder => builder * .fromStream(stream) * .date("Date", fields => fields.date) * .string("String", fields => fields.string) * .integer("Integer", fields => fields.integer) * .boolean("Boolean", fields => fields.boolean) * .float( * "Float", * { * edit: writeable, * value: fields => fields.float, * min: fields => fields.min_float, * max: fields => fields.max_float, * } * ) * ) * .toTemplate() * ``` */ export * from './LayoutBuilder'; export * from './Visual'; export * from './stdlib'; export * from './Chart'; export * from './Geo';