Skip to content

Adding new components v2

Radhakrishna Sanka edited this page Jan 11, 2019 · 2 revisions

Example Definitions

        unique: {
            "position": "Point",
        },
        heritable: {
            "rotation": "Float",
            "length": "Float",
            "width": "Float",
            "height": "Float",
            "spacing": "Float",
            "flowChannelWidth":"Float"
        },
        units: {
            "rotation": "&deg",
            "length": "μm",
            "width": "μm",
            "height": "μm",
            "spacing": "μm",
            "flowChannelWidth":"μm"

        },
        defaults: {
            "rotation": 0,
            "width": 600,
            "length": 300,
            "height": .1 * 1000,
            "spacing": 1000,
            "flowChannelWidth":300

        },
        minimum: {
            "rotation": 0,
            "width": 30,
            "length": 120,
            "height": 10,
            "spacing": 10,
            "flowChannelWidth":1

        },
        maximum: {
            "rotation": 180,
            "width": 6000,
            "length": 24 * 1000,
            "height": 1200,
            "spacing": 10000,
            "flowChannelWidth":10000
        }

Example

Clone this wiki locally