Skip to content

[BUG] The output for the SVG file attached is not coming out as a proper shape #38

Open

Description

@Sreejithga

Describe the bug
Attached is the SVG file which we tried to convert to stencil XML which contain shapes
Web Server

To Reproduce
Steps to reproduce the behavior:
Had selected the file and converted to XML using the tool with the below settings
image

Expected behavior
The shape is supposed to come out exactly as in the SVG, but its not and it looks as below.
image

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows 10 Enterprise
  • Browser Chrome
  • Version Chrome 105.0.5195.127

Additional context
Kindly advise what we can do to get this right ?

Activity

  1. added
    bug
    on Oct 10, 2022
  2. tbouffard commented on Oct 13, 2022

    @tbouffard
    Member

    Hi @Sreejithga
    svg2xml is not able to convert all kind of SVG. I don't know it in details but I will try to help you.

    Your SVG file definess some CSS classes and I am pretty sure that svg2xml doesn't convert them.
    Can you update your file and set the values of CSS properties directly in the attributes of the SVG nodes and run a new stencil generation?

    Side note: this repository doesn't provide a specific implementation of svg2xml. It relies on the implementation of the upstream repository: https://github.com/jgraph/svg2xml. So, issues with svg2xml should be reported in the upstream repository (I will update the README later to mention that).
    But don't worry, we are going to find a solution to your problem 😸 or if we are stuck we will report the issue to the upstream repo.

  3. Sreejithga commented on Dec 8, 2022

    @Sreejithga
    Author

    Thanks Thomas for your kind response, We are about to relook at this shortly and should be able to provide an update here as we will be trying your suggested solution as well.

  4. tbouffard commented on Dec 8, 2022

    @tbouffard
    Member

    Perfect, let me know when you have news about your problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions