question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Render SVG from Draw.io

See original GitHub issue

Hi, I’m trying to display some SVG from Draw.io, but I got some strange results.

I want to use manim for development and programming videos 😄

The code :

class Uml(SVGMobject):
  CONFIG = {
    "file_name": "/home/necros/Downloads/FormObjects-Models.svg",
    "unpack_groups": False
  }

class UmlRender(Scene):
  def construct(self):
    uml = Uml()
    uml.scale(5)

    self.play(DrawBorderThenFill(uml), run_time=5)
    self.wait(5)

Expected result : 2019-08-05-231334_433x377_scrot

Actual result :

2019-08-05-231318_916x851_scrot

Exemple file : https://filebin.net/vhs2w1zlwbqeadhv/FormObjects-Models__1_.svg?t=byk639bd

In hope you have any idea to help me.

Regards

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
xy-23commented, Aug 6, 2019

I try to download your file from https://srv-file2.gofile.io/download/ANL8aV/FormObjects-Models.svg but it said You are not authorized to download this file.

0reactions
alex-lairancommented, Sep 21, 2020

No sorry, I gave up this issue and tried to animate the block myself.

Each arrows are just a simple Arrow(block1, block2)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Insert SVG images into a diagram
Insert SVG images into a diagram Print · Drag and drop the SVG image file from your computer onto the drawing canvas. ·...
Read more >
Draw is unable to open an SVG diagram properly #407 - GitHub
An SVG diagram is a vector diagram, and so it should remain crystal clear at any zoom level, and not blur like a...
Read more >
Creating SVG diagrams with Draw.io - Cisco DevNet
Once your diagram is ready you need to export it to SVG. In order to do so click on File -> Export ->...
Read more >
Using SVG symbols to make diagrams, then convert them ...
We'd like to use Draw.io to make process diagrams. Then to export the diagrams in SVG files in order to embed them into...
Read more >
Text-editing a draw.io file exported as SVG with embedded ...
I customarily export draw.io drawings as SVG with the option to "include a copy of my diagram" selected. This enables me to display...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found