use of org.hl7.fhir.definitions.generators.specification.ResourceDependencyGenerator in project kindling by HL7.
the class PageProcessor method genDependencyGraph.
private String genDependencyGraph(ResourceDefn resource, String prefix) throws Exception {
ElementDefn e = resource.getRoot();
ResourceDependencyGenerator gen = new ResourceDependencyGenerator(folders.dstDir, this, resource.getName() + "-definitions.html", false, resource.getFmmLevel(), resource.getStatus());
return "<p>Dependency Graph for " + resource.getName() + " FMM level " + resource.getFmmLevel() + "</p>" + new XhtmlComposer(XhtmlComposer.HTML).compose(gen.generate(e, prefix));
}
Aggregations