Skip to content

Commit

Permalink
[2789] Increase the size of edgeupdater
Browse files Browse the repository at this point in the history
Bug: #2789
Signed-off-by: Michaël Charfadi <michael.charfadi@obeosoft.com>
  • Loading branch information
mcharfadi authored and gcoutable committed Jan 3, 2024
1 parent bc4342b commit a4bef3b
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,7 @@ Applications derived from Sirius Web may have to ensure that references to defau
- https://github.com/eclipse-sirius/sirius-web/issues/2191[#2191] [view] The Color property on ImageNodeStyle has been removed.
- https://github.com/eclipse-sirius/sirius-web/issues/2388[#2388] [tree] `treeItem` is no longer composed of a single string for the imageURL, but of a list of strings to take into account composite images.
The `IObjectService.getImagePath` API changed and now must return a list containing all the image paths.
- https://github.com/eclipse-sirius/sirius-web/issues/2789[#2789] [diagram] Added the file ReactFlow.css to sirius-web package.

=== Dependency update

Expand Down Expand Up @@ -479,6 +480,7 @@ To illustrate this new feature, we contribute a new tool on the _Papaya Diagram_
- https://github.com/eclipse-sirius/sirius-web/issues/2371[#2371] [view] Add new default color palettes along with the creation of a view (theme colors, mui colors...).
These color palettes are accessible in studio projects but are not visible in the Explorer view.
- https://github.com/eclipse-sirius/sirius-web/issues/2371[#2371] [view] Add new validation rules about colors for View diagrams & forms.
- https://github.com/eclipse-sirius/sirius-web/issues/2789[#2789] [diagram] Increase the size of the edgeupdater to make reconnecting an edge easier.

== v2023.8.0

Expand Down
17 changes: 17 additions & 0 deletions packages/sirius-web/frontend/sirius-web/src/ReactFlow.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/*******************************************************************************
* Copyright (c) 2023 Obeo.
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Obeo - initial API and implementation
*******************************************************************************/

/* The circle used to reconnect an edge */
.react-flow__edgeupdater {
stroke-width: 15;
}
1 change: 1 addition & 0 deletions packages/sirius-web/frontend/sirius-web/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ import { GQLSlider } from './widgets/SliderFragment.types';
import { SliderPreview } from './widgets/SliderPreview';
import { SliderPropertySection } from './widgets/SliderPropertySection';

import './ReactFlow.css';
import './Sprotty.css';
import './fonts.css';
import './reset.css';
Expand Down

0 comments on commit a4bef3b

Please sign in to comment.