Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support to contribute a new diagram style and contribute a SVG node style #1316

Closed
lfasani opened this issue Aug 1, 2022 · 0 comments · Fixed by #1367
Closed

Add support to contribute a new diagram style and contribute a SVG node style #1316

lfasani opened this issue Aug 1, 2022 · 0 comments · Fixed by #1367

Comments

@lfasani
Copy link
Contributor

lfasani commented Aug 1, 2022

Expected behavior

The aim is to contribute a new style that is not included in the sirius-component core
There will be two kind of changes:

  • enhance sirius-component to support contributed node style
  • contribute a new style based on a provided SVG

Cuttings backs

...

Potential side effects

...

Describe alternatives you've considered

...

@sbegaudeau sbegaudeau added this to the 2022.9.0 milestone Aug 1, 2022
@lfasani lfasani self-assigned this Aug 4, 2022
lfasani added a commit that referenced this issue Aug 4, 2022
Now there are two separated concept:
 * The node style description concept that tells how it is represented
 * The new concept of LayoutStrategyDescription that tells how the
children are layouted.

* Add new Styles
 - RectangularNodeStyleDescription
 - ImageNodeStyleDescription
 - SVGNodeStyleDescription
 - IconLabelNodeStyleDescription
* Add a "childrenLayoutStrategy" feature to NodeDescription. There are
two implementations
 - FreeFormLayoutStrategyDescription
 - ListLayoutStrategyDescription

TODO: check tests (test that are base on view models should be updated)

Bug: #1316
Bug: https://github.com/eclipse-sirius/sirius-components/issues/compartment layout ticket
Signed-off-by: Laurent Fasani <laurent.fasani@obeo.fr>
lfasani added a commit that referenced this issue Aug 29, 2022
Now there are two separated concept:
 * The node style description concept that tells how it is represented
 * The new concept of LayoutStrategyDescription that tells how the
children are layouted.

* Add new Styles
 - RectangularNodeStyleDescription
 - ImageNodeStyleDescription
 - SVGNodeStyleDescription
 - IconLabelNodeStyleDescription
* Add a "childrenLayoutStrategy" feature to NodeDescription. There are
two implementations
 - FreeFormLayoutStrategyDescription
 - ListLayoutStrategyDescription

TODO: check tests (test that are base on view models should be updated)

Bug: #1316
Bug: https://github.com/eclipse-sirius/sirius-components/issues/compartment layout ticket
Signed-off-by: Laurent Fasani <laurent.fasani@obeo.fr>
lfasani added a commit that referenced this issue Sep 12, 2022
Now there are two separated concepts:
 * The node style description concept that tells how the node is
represented
 * The new concept of LayoutStrategyDescription that tells how the
children are layouted.

* Add new Styles
 - RectangularNodeStyleDescription
 - ImageNodeStyleDescription
 - SVGNodeStyleDescription
 - IconLabelNodeStyleDescription
* Add a "childrenLayoutStrategy" feature to NodeDescription. There are
two implementations
 - FreeFormLayoutStrategyDescription
 - ListLayoutStrategyDescription

Bug: #1316
Bug: #1139
Signed-off-by: Laurent Fasani <laurent.fasani@obeo.fr>
@sbegaudeau sbegaudeau modified the milestones: 2022.9.0, 2022.11.0 Sep 13, 2022
lfasani added a commit that referenced this issue Sep 19, 2022
Now there are two separated concepts:
 * The node style description concept that tells how the node is
represented
 * The new concept of LayoutStrategyDescription that tells how the
children are layouted.

* Add new Styles
 - RectangularNodeStyleDescription
 - ImageNodeStyleDescription
 - IconLabelNodeStyleDescription
* Add a "childrenLayoutStrategy" feature to NodeDescription. There are
two implementations
 - FreeFormLayoutStrategyDescription
 - ListLayoutStrategyDescription

Bug: #1316
Bug: #1139
Signed-off-by: Laurent Fasani <laurent.fasani@obeo.fr>
lfasani added a commit that referenced this issue Sep 19, 2022
Now there are two separated concepts:
 * The node style description concept that tells how the node is
represented
 * The new concept of LayoutStrategyDescription that tells how the
children are layouted.

* Add new Styles
 - RectangularNodeStyleDescription
 - ImageNodeStyleDescription
 - IconLabelNodeStyleDescription
* Add a "childrenLayoutStrategy" feature to NodeDescription. There are
two implementations
 - FreeFormLayoutStrategyDescription
 - ListLayoutStrategyDescription

Bug: #1316
Bug: #1339
Signed-off-by: Laurent Fasani <laurent.fasani@obeo.fr>
lfasani added a commit that referenced this issue Sep 23, 2022
bug: #1316
Signed-off-by: Laurent Fasani <laurent.fasani@obeo.fr>
lfasani added a commit that referenced this issue Sep 23, 2022
bug: #1316
Signed-off-by: Laurent Fasani <laurent.fasani@obeo.fr>
lfasani added a commit that referenced this issue Sep 23, 2022
Now there are two separated concepts:
 * The node style description concept that tells how the node is
represented
 * The new concept of LayoutStrategyDescription that tells how the
children are layouted.

* Add new Styles
 - RectangularNodeStyleDescription
 - ImageNodeStyleDescription
 - IconLabelNodeStyleDescription
* Add a "childrenLayoutStrategy" feature to NodeDescription. There are
two implementations
 - FreeFormLayoutStrategyDescription
 - ListLayoutStrategyDescription

Bug: #1316
Bug: #1339
Signed-off-by: Laurent Fasani <laurent.fasani@obeo.fr>
lfasani added a commit that referenced this issue Sep 23, 2022
bug: #1316
Signed-off-by: Laurent Fasani <laurent.fasani@obeo.fr>
@gcoutable gcoutable linked a pull request Sep 23, 2022 that will close this issue
39 tasks
lfasani added a commit that referenced this issue Sep 23, 2022
Now there are two separated concepts:
 * The node style description concept that tells how the node is
represented
 * The new concept of LayoutStrategyDescription that tells how the
children are layouted.

* Add new Styles
 - RectangularNodeStyleDescription
 - ImageNodeStyleDescription
 - IconLabelNodeStyleDescription
* Add a "childrenLayoutStrategy" feature to NodeDescription. There are
two implementations
 - FreeFormLayoutStrategyDescription
 - ListLayoutStrategyDescription

Bug: #1316
Bug: #1339
Signed-off-by: Laurent Fasani <laurent.fasani@obeo.fr>
lfasani added a commit that referenced this issue Sep 23, 2022
bug: #1316
Signed-off-by: Laurent Fasani <laurent.fasani@obeo.fr>
lfasani added a commit that referenced this issue Sep 23, 2022
Now there are two separated concepts:
 * The node style description concept that tells how the node is
represented
 * The new concept of LayoutStrategyDescription that tells how the
children are layouted.

* Add new Styles
 - RectangularNodeStyleDescription
 - ImageNodeStyleDescription
 - IconLabelNodeStyleDescription
* Add a "childrenLayoutStrategy" feature to NodeDescription. There are
two implementations
 - FreeFormLayoutStrategyDescription
 - ListLayoutStrategyDescription

Bug: #1316
Bug: #1339
Signed-off-by: Laurent Fasani <laurent.fasani@obeo.fr>
lfasani added a commit that referenced this issue Sep 23, 2022
bug: #1316
Signed-off-by: Laurent Fasani <laurent.fasani@obeo.fr>
lfasani added a commit that referenced this issue Sep 23, 2022
Now there are two separated concepts:
 * The node style description concept that tells how the node is
represented
 * The new concept of LayoutStrategyDescription that tells how the
children are layouted.

* Add new Styles
 - RectangularNodeStyleDescription
 - ImageNodeStyleDescription
 - IconLabelNodeStyleDescription
* Add a "childrenLayoutStrategy" feature to NodeDescription. There are
two implementations
 - FreeFormLayoutStrategyDescription
 - ListLayoutStrategyDescription

Bug: #1316
Bug: #1339
Signed-off-by: Laurent Fasani <laurent.fasani@obeo.fr>
lfasani added a commit that referenced this issue Sep 23, 2022
bug: #1316
Signed-off-by: Laurent Fasani <laurent.fasani@obeo.fr>
lfasani added a commit that referenced this issue Sep 23, 2022
Now there are two separated concepts:
 * The node style description concept that tells how the node is
represented
 * The new concept of LayoutStrategyDescription that tells how the
children are layouted.

* Add new Styles
 - RectangularNodeStyleDescription
 - ImageNodeStyleDescription
 - IconLabelNodeStyleDescription
* Add a "childrenLayoutStrategy" feature to NodeDescription. There are
two implementations
 - FreeFormLayoutStrategyDescription
 - ListLayoutStrategyDescription

Bug: #1316
Bug: #1339
Signed-off-by: Laurent Fasani <laurent.fasani@obeo.fr>
lfasani added a commit that referenced this issue Sep 23, 2022
bug: #1316
Signed-off-by: Laurent Fasani <laurent.fasani@obeo.fr>
lfasani added a commit that referenced this issue Sep 23, 2022
Now there are two separated concepts:
 * The node style description concept that tells how the node is
represented
 * The new concept of LayoutStrategyDescription that tells how the
children are layouted.

* Add new Styles
 - RectangularNodeStyleDescription
 - ImageNodeStyleDescription
 - IconLabelNodeStyleDescription
* Add a "childrenLayoutStrategy" feature to NodeDescription. There are
two implementations
 - FreeFormLayoutStrategyDescription
 - ListLayoutStrategyDescription

Bug: #1316
Bug: #1339
Signed-off-by: Laurent Fasani <laurent.fasani@obeo.fr>
lfasani added a commit that referenced this issue Sep 23, 2022
bug: #1316
Signed-off-by: Laurent Fasani <laurent.fasani@obeo.fr>
lfasani added a commit that referenced this issue Sep 25, 2022
Now there are two separated concepts:
 * The node style description concept that tells how the node is
represented
 * The new concept of LayoutStrategyDescription that tells how the
children are layouted.

* Add new Styles
 - RectangularNodeStyleDescription
 - ImageNodeStyleDescription
 - IconLabelNodeStyleDescription
* Add a "childrenLayoutStrategy" feature to NodeDescription. There are
two implementations
 - FreeFormLayoutStrategyDescription
 - ListLayoutStrategyDescription

Bug: #1316
Bug: #1339
Signed-off-by: Laurent Fasani <laurent.fasani@obeo.fr>
lfasani added a commit that referenced this issue Sep 25, 2022
bug: #1316
Signed-off-by: Laurent Fasani <laurent.fasani@obeo.fr>
lfasani added a commit that referenced this issue Sep 26, 2022
bug: #1316
Signed-off-by: Laurent Fasani <laurent.fasani@obeo.fr>
lfasani added a commit that referenced this issue Sep 26, 2022
bug: #1316
Signed-off-by: Laurent Fasani <laurent.fasani@obeo.fr>
lfasani added a commit that referenced this issue Sep 26, 2022
bug: #1316
Signed-off-by: Laurent Fasani <laurent.fasani@obeo.fr>
gcoutable pushed a commit that referenced this issue Sep 26, 2022
bug: #1316
Signed-off-by: Laurent Fasani <laurent.fasani@obeo.fr>
lfasani added a commit that referenced this issue Sep 27, 2022
bug: #1316
Signed-off-by: Laurent Fasani <laurent.fasani@obeo.fr>
lfasani added a commit that referenced this issue Sep 27, 2022
bug: #1316
Signed-off-by: Laurent Fasani <laurent.fasani@obeo.fr>
gcoutable pushed a commit that referenced this issue Sep 27, 2022
bug: #1316
Signed-off-by: Laurent Fasani <laurent.fasani@obeo.fr>
gcoutable pushed a commit that referenced this issue Sep 27, 2022
bug: #1316
Signed-off-by: Laurent Fasani <laurent.fasani@obeo.fr>
pcdavid added a commit that referenced this issue Jan 23, 2023
Generic support for them was added in v2022.11.0 with #1316, but there
are no concrete examples in Sirius Web which makes it difficult to
test for.

Bug: #1596
Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
pcdavid added a commit that referenced this issue Jan 24, 2023
Generic support for them was added in v2022.11.0 with #1316, but there
are no concrete examples in Sirius Web which makes it difficult to
test for.

Bug: #1596
Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
sbegaudeau pushed a commit that referenced this issue Jan 24, 2023
Generic support for them was added in v2022.11.0 with #1316, but there
are no concrete examples in Sirius Web which makes it difficult to
test for.

Bug: #1596
Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
sbegaudeau pushed a commit that referenced this issue Jan 24, 2023
Generic support for them was added in v2022.11.0 with #1316, but there
are no concrete examples in Sirius Web which makes it difficult to
test for.

Bug: #1596
Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants