Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about draw.io

Read more about draw.io

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - draw.io

How do I decompress the diagram data in a .drawio file with node.js and zlib?

Diagrams.net, previously and still more widely known as draw.io, is a popular tool for drawing diagrams of various kinds. It stores diagrams in an XML-based format that uses the file ending .drawio. T...
test-img

Florian

node.js

zlib

draw.io

Votes: 0

Answers: 1

Latest Answer

Use zlib.inflateRawSync(). What you have there is a raw deflate stream, not a zlib stream.
test-img

Mark Adler

Custom viewer doesn't render correctly some shapes

I realized a custom viewer to display diagrams realized with diagrams.net editor. More or less my code is: <script src="http://localhost:8080/my-viewer/mxgraph/js/app.min.js type="text/ja...
test-img

Marco Azzalini

draw.io

diagrams.net

Votes: 0

Answers: 1

Latest Answer

I eventually found the solution. The problem is that some shapes in the diagram definition file doesn't have the 'shape' property. For example, triangle is generated by this tag: <mxCell style=&quo...
test-img

Marco Azzalini

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved