GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Duplicated SVG linearGradient definition for cells using the exact same gradient style in the Stencils story · Issue #676 · maxGraph/maxGraph Open DescriptionDescribe the bugWhen several cells use the same configuration to create a color gradient (gradientColor, gradientDirection and fillColor), the SVG is supposed to include a single SVG linearGradient which is reused for all rendered Cell. When the Graph is rendered for the first time, the linearGradient is duplicated in the SVG (including the usage of the same id). To ReproduceSteps to reproduce the behavior:
Expected behaviorA single SVG linearGradient definition for all cells sharing the exact same gradient style Ideally, the ScreenshotsmaxGraph 0.15.1 mxGraph 4.2.2 Environment
Additional contextAdditional tests should be done to verify if this behavior occurs outside Storybook. We already saw specific rendering issues due to Storybook like in #545. In addition, when redrawing a Cell or the whole Graph, the duplicated linearGradient are removed. See videos below 👇🏿 Redrawing individual cells issue_676_duplicated_linearGradient_removed_after_redraw_individual_cell.webmFull Graph redraw by zooming issue_676_duplicated_linearGradient_removed_after_zoom.webmActivity
MetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |