Comments (4)
Hi @nabati, thanks for the issue. It would be good to see what happens for those unmapped entities. Would you be able to see in the entity definition how it is being linked?
from contentful-graph.
digraph obj {
node[shape=record];
"componentUpsell";
"metaContent";
"variant";
"Asset";
"componentProductGridNew";
"subcategoryPage";
"categoryPage";
"faqEntry";
"faqPage";
"imageCarousel";
"uspCard";
"pageDesigner";
"componentImageCarouselNew";
"pageHomepageNew";
"componentFaqEntryGlobal";
"test";
"pageCollection";
"imageEntry";
"brandModuleProductGrid";
"faqCategory";
"pageTextPageGlobal";
"textPage";
"audience";
"blockQuote";
"departmentPage";
"featureModule";
"twelveColumnModuleRow";
"componentHeroModule";
"articlesPage";
"pageOurDesigners";
"componentNavigation";
"link";
"articlePage";
"productMaterialSample";
"componentArticlePreview";
"componentProductCard";
"promotionCard";
"linkTag";
"lifestyle";
"editorial";
"brandModuleProductGridItem";
"imageRow";
"eightPlusFourRow";
"lifestyleImage";
"footer";
"paragraph";
"brandModuleTextBlock";
edge [color="#e6194B"];
"componentUpsell" -> "variant" [dir=forward,label="0..*"];
edge [color="#e6194B"];
"variant" -> "Asset" [dir=forward,label="0..*"];
edge [color="#e6194B"];
"componentProductGridNew" -> "variant" [dir=forward,label="0..*"];
edge [color="#e6194B"];
"subcategoryPage" -> "variant" [dir=forward,label="0..*"];
edge [color="#3cb44b"];
"subcategoryPage" -> "variant" [dir=forward,label="0..*"];
edge [color="#e6194B"];
"categoryPage" -> "variant" [dir=forward,label="0..*"];
edge [color="#3cb44b"];
"categoryPage" -> "subcategoryPage" [dir=forward,label="0..*"];
edge [color="#e6194B"];
"faqEntry" -> "componentFaqEntryGlobal" [dir=forward,label="0..*"];
edge [color="#e6194B"];
"faqPage" -> "componentFaqEntryGlobal" [dir=forward,label="0..*"];
edge [color="#3cb44b"];
"faqPage" -> "faqCategory" [dir=forward,label="0..*"];
edge [color="#e6194B"];
"imageCarousel" -> "Asset" [dir=forward,label="0..*"];
edge [color="#e6194B"];
"componentImageCarouselNew" -> "imageEntry" [dir=forward,label="0..*"];
edge [color="#e6194B"];
"test" -> "variant" [dir=forward,label="0..*"];
edge [color="#3cb44b"];
"test" -> "subcategoryPage" [dir=forward,label="0..*"];
edge [color="#ffe119"];
"test" -> "uspCard" [dir=forward,label="0..*"];
edge [color="#4363d8"];
"test" -> "test" [dir=forward,label="0..*"];
edge [color="#e6194B"];
"pageCollection" -> "variant" [dir=forward,label="0..*"];
edge [color="#e6194B"];
"brandModuleProductGrid" -> "brandModuleProductGridItem" [dir=forward,label="0..*"];
edge [color="#e6194B"];
"faqCategory" -> "componentFaqEntryGlobal" [dir=forward,label="0..*"];
edge [color="#e6194B"];
"departmentPage" -> "categoryPage" [dir=forward,label="0..*"];
edge [color="#e6194B"];
"twelveColumnModuleRow" -> "componentHeroModule" [dir=forward,label="0..*"];
edge [color="#e6194B"];
"twelveColumnModuleRow" -> "lifestyle" [dir=forward,label="0..*"];
edge [color="#e6194B"];
"twelveColumnModuleRow" -> "brandModuleProductGrid" [dir=forward,label="0..*"];
edge [color="#e6194B"];
"twelveColumnModuleRow" -> "brandModuleTextBlock" [dir=forward,label="0..*"];
edge [color="#e6194B"];
"articlesPage" -> "articlePage" [dir=forward,label="0..*"];
edge [color="#e6194B"];
"pageOurDesigners" -> "pageDesigner" [dir=forward,label="0..*"];
edge [color="#e6194B"];
"componentNavigation" -> "categoryPage" [dir=forward,label="0..*"];
edge [color="#e6194B"];
"componentNavigation" -> "departmentPage" [dir=forward,label="0..*"];
edge [color="#3cb44b"];
"componentNavigation" -> "link" [dir=forward,label="0..*"];
edge [color="#3cb44b"];
"componentNavigation" -> "articlesPage" [dir=forward,label="0..*"];
edge [color="#3cb44b"];
"componentNavigation" -> "categoryPage" [dir=forward,label="0..*"];
edge [color="#3cb44b"];
"componentNavigation" -> "faqPage" [dir=forward,label="0..*"];
edge [color="#3cb44b"];
"componentNavigation" -> "textPage" [dir=forward,label="0..*"];
edge [color="#ffe119"];
"componentNavigation" -> "link" [dir=forward,label="0..*"];
edge [color="#ffe119"];
"componentNavigation" -> "articlesPage" [dir=forward,label="0..*"];
edge [color="#ffe119"];
"componentNavigation" -> "categoryPage" [dir=forward,label="0..*"];
edge [color="#ffe119"];
"componentNavigation" -> "departmentPage" [dir=forward,label="0..*"];
edge [color="#ffe119"];
"componentNavigation" -> "faqPage" [dir=forward,label="0..*"];
edge [color="#ffe119"];
"componentNavigation" -> "subcategoryPage" [dir=forward,label="0..*"];
edge [color="#ffe119"];
"componentNavigation" -> "textPage" [dir=forward,label="0..*"];
edge [color="#e6194B"];
"articlePage" -> "blockQuote" [dir=forward,label="0..*"];
edge [color="#e6194B"];
"articlePage" -> "imageCarousel" [dir=forward,label="0..*"];
edge [color="#e6194B"];
"articlePage" -> "imageRow" [dir=forward,label="0..*"];
edge [color="#e6194B"];
"articlePage" -> "paragraph" [dir=forward,label="0..*"];
edge [color="#e6194B"];
"articlePage" -> "[ Unknown type: portraitImageRow ]" [dir=forward,label="0..*"];
edge [color="#3cb44b"];
"articlePage" -> "variant" [dir=forward,label="0..*"];
edge [color="#ffe119"];
"articlePage" -> "subcategoryPage" [dir=forward,label="0..*"];
edge [color="#4363d8"];
"articlePage" -> "articlePage" [dir=forward,label="0..*"];
edge [color="#e6194B"];
"linkTag" -> "categoryPage" [dir=forward,label="0..*"];
edge [color="#e6194B"];
"linkTag" -> "subcategoryPage" [dir=forward,label="0..*"];
edge [color="#e6194B"];
"linkTag" -> "variant" [dir=forward,label="0..*"];
edge [color="#e6194B"];
"lifestyle" -> "linkTag" [dir=forward,label="0..*"];
edge [color="#3cb44b"];
"lifestyle" -> "linkTag" [dir=forward,label="0..*"];
edge [color="#e6194B"];
"imageRow" -> "Asset" [dir=forward,label="0..*"];
edge [color="#e6194B"];
"eightPlusFourRow" -> "editorial" [dir=forward,label="0..*"];
edge [color="#e6194B"];
"eightPlusFourRow" -> "lifestyle" [dir=forward,label="0..*"];
edge [color="#3cb44b"];
"eightPlusFourRow" -> "editorial" [dir=forward,label="0..*"];
edge [color="#3cb44b"];
"eightPlusFourRow" -> "featureModule" [dir=forward,label="0..*"];
edge [color="#e6194B"];
"lifestyleImage" -> "variant" [dir=forward,label="0..*"];
}
Several of the nodes on the right should have links to other elements, but they do not here. Not sure what the issue could be?
from contentful-graph.
hi @nabati, thanks. So according to the raw dot object you provided, it the graph is fine.
Can you please tell at least one node that doesn't contain links, so we could continue our investigation there?
I would also likely ask you to give some details for the original schema for those models if possible, to see how the relations are defined there. Maybe they are not defined at all, or are defined in some other way.
Thanks!
from contentful-graph.
@nabati
I encountered the same problems several versions of ago. So, my questions would be:
- Are you using the management token or the access token? The later can only draw relations for existing content
- Are the missing relations defined for a richText element?
- Are you using the last release which resolves #19 ?
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
- Output to diagrams.net HOT 3
- 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
- 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.