Comments (3)
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.
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.
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)
- General issues HOT 2
- Make it an npm module HOT 5
- Hyphens and spaces in element names lead to syntax error with dot HOT 3
- throws TypeError if multiple reference field contains validation for non-existent content type HOT 3
- Use content type id's as dot node id's and escape labels HOT 3
- No 'latest' release HOT 4
- space.getEnvironment is not a function error HOT 7
- Output is missing edges for richtext embedded entries HOT 6
- RichText link does not reflect all configurations #19 HOT 2
- Update dependencies to "latest" version HOT 3
- Getting data over distribution api does not work anymore HOT 1
- Doesn't map out all relations HOT 4
- What do the different colors mean? HOT 1
- I'm getting status 403 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from contentful-graph.