2022-12-06 00:34:41 +03:00
|
|
|
================================================================================
|
2022-12-04 23:45:53 +03:00
|
|
|
Root attribute
|
2022-12-06 00:34:41 +03:00
|
|
|
================================================================================
|
2022-12-04 18:35:50 +03:00
|
|
|
direction: value
|
|
|
|
|
2022-12-09 12:36:31 +03:00
|
|
|
shape: oval
|
|
|
|
label: ten
|
|
|
|
constraint: utehu
|
|
|
|
icon: huell
|
|
|
|
opacity: 1
|
|
|
|
fill: red
|
|
|
|
stroke: red
|
|
|
|
stroke-width: 5
|
|
|
|
stroke-dash: 4
|
|
|
|
border-radius: 1
|
|
|
|
font-color: red
|
|
|
|
shadow: true
|
|
|
|
multiple: true
|
|
|
|
animated: true
|
|
|
|
link: https://to
|
|
|
|
near: abc
|
2022-12-07 18:52:19 +03:00
|
|
|
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
(source_file
|
2022-12-09 12:36:31 +03:00
|
|
|
(attribute (attr_key) (attr_value))
|
|
|
|
|
|
|
|
(attribute (attr_key (reserved)) (attr_value))
|
|
|
|
(attribute (attr_key (reserved)) (attr_value))
|
|
|
|
(attribute (attr_key (reserved)) (attr_value))
|
|
|
|
(attribute (attr_key (reserved)) (attr_value))
|
|
|
|
(attribute (attr_key (reserved)) (attr_value))
|
|
|
|
(attribute (attr_key (reserved)) (attr_value))
|
|
|
|
(attribute (attr_key (reserved)) (attr_value))
|
|
|
|
(attribute (attr_key (reserved)) (attr_value))
|
|
|
|
(attribute (attr_key (reserved)) (attr_value))
|
|
|
|
(attribute (attr_key (reserved)) (attr_value))
|
|
|
|
(attribute (attr_key (reserved)) (attr_value))
|
|
|
|
(attribute (attr_key (reserved)) (attr_value))
|
|
|
|
(attribute (attr_key (reserved)) (attr_value))
|
|
|
|
(attribute (attr_key (reserved)) (attr_value))
|
|
|
|
(attribute (attr_key (reserved)) (attr_value))
|
|
|
|
(attribute (attr_key (reserved)) (attr_value))
|
2022-12-07 18:52:19 +03:00
|
|
|
)
|
|
|
|
|
2022-12-06 00:34:41 +03:00
|
|
|
================================================================================
|
2022-12-09 12:36:31 +03:00
|
|
|
Style attribute
|
2022-12-06 00:34:41 +03:00
|
|
|
================================================================================
|
2022-12-09 12:36:31 +03:00
|
|
|
foo.style.opacity: 5
|
|
|
|
foo.style.fill: red
|
|
|
|
foo.style.stroke: red
|
|
|
|
foo.style.stroke-width: 5
|
|
|
|
foo.style.stroke-dash: 4
|
|
|
|
foo.style.border-radius: 1
|
|
|
|
foo.style.font-color: red
|
|
|
|
foo.style.shadow: true
|
|
|
|
foo.style.multiple: true
|
|
|
|
foo.style.animated: true
|
|
|
|
foo.style.link: https://to
|
2022-12-04 23:45:53 +03:00
|
|
|
|
2022-12-06 00:34:41 +03:00
|
|
|
--------------------------------------------------------------------------------
|
2022-12-04 23:45:53 +03:00
|
|
|
|
|
|
|
(source_file
|
2022-12-09 12:36:31 +03:00
|
|
|
(shape (shape_key) (dot) (attribute (attr_key) (dot) (attribute (attr_key) (attr_value))))
|
|
|
|
(shape (shape_key) (dot) (attribute (attr_key) (dot) (attribute (attr_key) (attr_value))))
|
|
|
|
(shape (shape_key) (dot) (attribute (attr_key) (dot) (attribute (attr_key) (attr_value))))
|
|
|
|
(shape (shape_key) (dot) (attribute (attr_key) (dot) (attribute (attr_key) (attr_value))))
|
|
|
|
(shape (shape_key) (dot) (attribute (attr_key) (dot) (attribute (attr_key) (attr_value))))
|
|
|
|
(shape (shape_key) (dot) (attribute (attr_key) (dot) (attribute (attr_key) (attr_value))))
|
|
|
|
(shape (shape_key) (dot) (attribute (attr_key) (dot) (attribute (attr_key) (attr_value))))
|
|
|
|
(shape (shape_key) (dot) (attribute (attr_key) (dot) (attribute (attr_key) (attr_value))))
|
|
|
|
(shape (shape_key) (dot) (attribute (attr_key) (dot) (attribute (attr_key) (attr_value))))
|
|
|
|
(shape (shape_key) (dot) (attribute (attr_key) (dot) (attribute (attr_key) (attr_value))))
|
|
|
|
(shape (shape_key) (dot) (attribute (attr_key) (dot) (attribute (attr_key) (attr_value))))
|
2022-12-04 23:45:53 +03:00
|
|
|
)
|
|
|
|
|
2022-12-06 00:34:41 +03:00
|
|
|
================================================================================
|
2022-12-09 12:36:31 +03:00
|
|
|
Block style attributes
|
2022-12-06 00:34:41 +03:00
|
|
|
================================================================================
|
2022-12-09 12:36:31 +03:00
|
|
|
foo.style: {
|
|
|
|
opacity: 5
|
|
|
|
fill: red
|
|
|
|
stroke: red
|
|
|
|
stroke-width: 5
|
|
|
|
stroke-dash: 4
|
|
|
|
border-radius: 1
|
|
|
|
font-color: red
|
|
|
|
shadow: true
|
|
|
|
multiple: true
|
|
|
|
animated: true
|
|
|
|
link: https://to
|
|
|
|
}
|
2022-12-04 23:45:53 +03:00
|
|
|
|
2022-12-06 00:34:41 +03:00
|
|
|
--------------------------------------------------------------------------------
|
2022-12-04 23:45:53 +03:00
|
|
|
|
|
|
|
(source_file
|
2022-12-09 12:36:31 +03:00
|
|
|
(shape
|
|
|
|
(shape_key) (dot)
|
|
|
|
(attribute
|
|
|
|
(attr_key)
|
|
|
|
(block
|
|
|
|
(attribute (attr_key) (attr_value))
|
|
|
|
(attribute (attr_key) (attr_value))
|
|
|
|
(attribute (attr_key) (attr_value))
|
|
|
|
(attribute (attr_key) (attr_value))
|
|
|
|
(attribute (attr_key) (attr_value))
|
|
|
|
(attribute (attr_key) (attr_value))
|
|
|
|
(attribute (attr_key) (attr_value))
|
|
|
|
(attribute (attr_key) (attr_value))
|
|
|
|
(attribute (attr_key) (attr_value))
|
|
|
|
(attribute (attr_key) (attr_value))
|
|
|
|
(attribute (attr_key) (attr_value))
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
2022-12-04 23:45:53 +03:00
|
|
|
)
|
|
|
|
|
2022-12-06 11:57:59 +03:00
|
|
|
================================================================================
|
2022-12-09 12:36:31 +03:00
|
|
|
Container attributes
|
2022-12-06 11:57:59 +03:00
|
|
|
================================================================================
|
2022-12-09 12:36:31 +03:00
|
|
|
foo: {
|
|
|
|
shape: oval
|
|
|
|
label: Baz
|
|
|
|
constraint: primary-key
|
|
|
|
icon: pathto
|
|
|
|
width: 100
|
|
|
|
height: 200
|
2022-12-06 11:57:59 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
(source_file
|
2022-12-09 12:36:31 +03:00
|
|
|
(container
|
|
|
|
(container_key)
|
|
|
|
(block
|
|
|
|
(attribute (attr_key) (attr_value))
|
|
|
|
(attribute (attr_key) (attr_value))
|
|
|
|
(attribute (attr_key) (attr_value))
|
|
|
|
(attribute (attr_key) (attr_value))
|
|
|
|
(attribute (attr_key) (attr_value))
|
|
|
|
(attribute (attr_key) (attr_value))
|
|
|
|
)
|
2022-12-06 11:57:59 +03:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
================================================================================
|
2022-12-09 12:36:31 +03:00
|
|
|
Container style attributes
|
2022-12-06 11:57:59 +03:00
|
|
|
================================================================================
|
2022-12-09 12:36:31 +03:00
|
|
|
foo: {
|
|
|
|
style.opacity: 5
|
|
|
|
style.fill: red
|
|
|
|
style.stroke: red
|
|
|
|
style.stroke-width: 5
|
|
|
|
style.stroke-dash: 4
|
|
|
|
style.border-radius: 1
|
|
|
|
style.font-color: red
|
|
|
|
style.shadow: true
|
|
|
|
style.multiple: true
|
|
|
|
style.animated: true
|
|
|
|
style.link: https://to
|
|
|
|
}
|
2022-12-06 11:57:59 +03:00
|
|
|
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
(source_file
|
2022-12-09 12:36:31 +03:00
|
|
|
(container
|
|
|
|
(container_key)
|
|
|
|
(block
|
|
|
|
(attribute (attr_key) (dot) (attribute (attr_key) (attr_value)))
|
|
|
|
(attribute (attr_key) (dot) (attribute (attr_key) (attr_value)))
|
|
|
|
(attribute (attr_key) (dot) (attribute (attr_key) (attr_value)))
|
|
|
|
(attribute (attr_key) (dot) (attribute (attr_key) (attr_value)))
|
|
|
|
(attribute (attr_key) (dot) (attribute (attr_key) (attr_value)))
|
|
|
|
(attribute (attr_key) (dot) (attribute (attr_key) (attr_value)))
|
|
|
|
(attribute (attr_key) (dot) (attribute (attr_key) (attr_value)))
|
|
|
|
(attribute (attr_key) (dot) (attribute (attr_key) (attr_value)))
|
|
|
|
(attribute (attr_key) (dot) (attribute (attr_key) (attr_value)))
|
|
|
|
(attribute (attr_key) (dot) (attribute (attr_key) (attr_value)))
|
|
|
|
(attribute (attr_key) (dot) (attribute (attr_key) (attr_value)))
|
|
|
|
)
|
2022-12-06 11:57:59 +03:00
|
|
|
)
|
|
|
|
)
|
|
|
|
|
2022-12-08 02:04:36 +03:00
|
|
|
================================================================================
|
2022-12-09 12:36:31 +03:00
|
|
|
Block style attributes inside a container
|
2022-12-08 02:04:36 +03:00
|
|
|
================================================================================
|
2022-12-09 12:36:31 +03:00
|
|
|
foo: {
|
|
|
|
style: {
|
|
|
|
opacity: 5
|
|
|
|
fill: red
|
|
|
|
stroke: red
|
|
|
|
stroke-width: 5
|
|
|
|
stroke-dash: 4
|
|
|
|
border-radius: 1
|
|
|
|
font-color: red
|
|
|
|
shadow: true
|
|
|
|
multiple: true
|
|
|
|
animated: true
|
|
|
|
link: https://to
|
|
|
|
}
|
|
|
|
}
|
2022-12-08 02:04:36 +03:00
|
|
|
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
(source_file
|
2022-12-09 12:36:31 +03:00
|
|
|
(container
|
|
|
|
(container_key)
|
|
|
|
(block
|
|
|
|
(attribute
|
|
|
|
(attr_key)
|
|
|
|
(block
|
|
|
|
(attribute (attr_key) (attr_value))
|
|
|
|
(attribute (attr_key) (attr_value))
|
|
|
|
(attribute (attr_key) (attr_value))
|
|
|
|
(attribute (attr_key) (attr_value))
|
|
|
|
(attribute (attr_key) (attr_value))
|
|
|
|
(attribute (attr_key) (attr_value))
|
|
|
|
(attribute (attr_key) (attr_value))
|
|
|
|
(attribute (attr_key) (attr_value))
|
|
|
|
(attribute (attr_key) (attr_value))
|
|
|
|
(attribute (attr_key) (attr_value))
|
|
|
|
(attribute (attr_key) (attr_value))
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
2022-12-08 02:04:36 +03:00
|
|
|
)
|
|
|
|
|