Giter Site home page Giter Site logo

Output to diagrams.net about contentful-graph HOT 3 OPEN

s5no5t avatar s5no5t commented on June 2, 2024
Output to diagrams.net

from contentful-graph.

Comments (3)

s5no5t avatar s5no5t commented on June 2, 2024 1

I'm not familiar with diagrams.net, but it looks like it is a drawio underneath?

That's right.

In order to export it to drawio format, one can either use (quick googling) something like this graphviz2drawio, or implement whole layouting from scratch.

I tried graphviz2drawio today and it didn't work for me at all. Besides, I think this functionality would nicely fit into contentful-graph.

My problem with that would still be that once you export and start edit the schema, it would not be possible to re-sync, if structure would change on Contentful side.

I agree, although I don't see it as a big issue. My use case would be to take whatever is the latest model in Contentful and use diagrams.net to evolve it to the next step - this doesn't require re-sync.

I wish contentful would implement such a UI designer directly in their product :)

I agree :-)

Would you take PRs that implement a --format=drawio param for contentful-graph?

from contentful-graph.

lotas avatar lotas commented on June 2, 2024

Hi @jugglingthebits
I'm not familiar with diagrams.net, but it looks like it is a drawio underneath?
If I remember correctly it was using xml-like documents. I tried importing SVG but it doesn't recognize them.

Idea of contentful-graph was simple, it was creating *.dot text files which are later being parsed and converted into nice diagrams with graphviz. So the main work was actually done by that wonderful tool.

In order to export it to drawio format, one can either use (quick googling) something like this graphviz2drawio, or implement whole layouting from scratch.
Maybe also there is a way to convert SVG into a drawio XML structure, not sure.

My problem with that would still be that once you export and start edit the schema, it would not be possible to re-sync, if structure would change on Contentful side.

I wish contentful would implement such a UI designer directly in their product :)

from contentful-graph.

lotas avatar lotas commented on June 2, 2024

Would you take PRs that implement a --format=drawio param for contentful-graph?

That would be amazing! Thank you.

from contentful-graph.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.