Class TemplatesToDot

java.lang.Object
org.openprovenance.prov.dot.ProvToDot
org.openprovenance.prov.service.TemplatesToDot
All Implemented Interfaces:
org.openprovenance.prov.dot.DotProperties, org.openprovenance.prov.dot.ProvShorthandNames, org.openprovenance.prov.dot.RecommendedProvVisualProperties

public class TemplatesToDot extends org.openprovenance.prov.dot.ProvToDot
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
  • Field Summary

    Fields inherited from class org.openprovenance.prov.dot.ProvToDot

    layout, MAX_TOOLTIP_LENGTH, name

    Fields inherited from interface org.openprovenance.prov.dot.DotProperties

    DOT_ARROWHEAD, DOT_ARROWSHAPE_ODIAMOND, DOT_ARROWSHAPE_OINV, DOT_ARROWTAIL, DOT_COLOUR, DOT_DIR, DOT_DIRECTED_EDGE, DOT_FILLCOLOUR, DOT_FONTCOLOUR, DOT_FONTSIZE, DOT_HEADPORT, DOT_LABEL, DOT_LABELANGLE, DOT_LABELDISTANCE, DOT_LABELFONTSIZE, DOT_PENWIDTH, DOT_ROTATION, DOT_SHAPE, DOT_SIDES, DOT_STYLE, DOT_TAILLABEL, DOT_TAILPORT, DOT_TOOLTIP, DOT_UNDIRECTED_EDGE, DOT_URL, DOT_WIDTH

    Fields inherited from interface org.openprovenance.prov.dot.ProvShorthandNames

    PROV_SHORTHAND_ALTERNATE, PROV_SHORTHAND_ASSOCIATION, PROV_SHORTHAND_ATTRIBUTION, PROV_SHORTHAND_COMMUNICATION, PROV_SHORTHAND_DELEGATION, PROV_SHORTHAND_DERIVATION, PROV_SHORTHAND_END, PROV_SHORTHAND_GENERATION, PROV_SHORTHAND_INFLUENCE, PROV_SHORTHAND_INVALIDATION, PROV_SHORTHAND_MEMBERSHIP, PROV_SHORTHAND_MENTION, PROV_SHORTHAND_SPECIALIZATION, PROV_SHORTHAND_START, PROV_SHORTHAND_USAGE

    Fields inherited from interface org.openprovenance.prov.dot.RecommendedProvVisualProperties

    ACTIVITY_COLOUR, ACTIVITY_FILL_COLOUR, ACTIVITY_SHAPE, ACTIVITY_SIDES, ACTIVITY_STYLE, AGENT_FILLCOLOUR, AGENT_SHAPE, AGENT_STYLE, ANNOTATION_SHAPE, ENTITY_COLOUR, ENTITY_FILLCOLOUR, ENTITY_STYLE
  • Constructor Summary

    Constructors
    Constructor
    Description
    TemplatesToDot(List<TemplateQuery.TemplateConnection> templateConnections, String style, Map<String,Map<String,String>> baseTypes, Map<String,Map<String,Map<String,String>>> ioMap, TemplateDispatcher templateDispatcher, Map<String,Map<String,List<String>>> successors, org.openprovenance.prov.model.ProvFactory pf, TemplateQuery templateQuery, String principal)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    convert(org.openprovenance.prov.model.Document graph, OutputStream os, String title)
     
    void
    convert(org.openprovenance.prov.model.Document ignore, PrintStream out, String title)
     
    void
    convert_entities(org.openprovenance.prov.model.Document ignore, PrintStream out, String title)
     
    void
    convert_prov(org.openprovenance.prov.model.Document ignore, PrintStream out, String title)
     
    void
    convert_template(org.openprovenance.prov.model.Document doc, PrintStream out, String title)
     
    static String
    createHtmlTable(TemplatesToDot.TemplateInfo templateInfo, List<String> inputsNames, List<String> inputsPorts, List<String> inputsColors, List<String> outputsNames, List<String> outputsPorts, List<String> outputColors)
     
    void
    emitTemplate(String template, String templateId, String htmlTable, PrintStream out)
     

    Methods inherited from class org.openprovenance.prov.dot.ProvToDot

    activityLabel, addActivityColor, addActivityLabel, addActivityShape, addAgentColor, addAgentLabel, addAgentShape, addAnnotationColor, addAnnotationLabel, addAnnotationLinkProperties, addAnnotationShape, addBlankNodeShape, addColors, addEntityColor, addEntityLabel, addEntityShape, addURL, agentLabel, annotationColor, annotationId, convert, convert, convert, convert, convert, convert, convert, convert, convertProperty, countOthers, displaySize, dotify, emitActivity, emitAgent, emitAnnotations, emitBlankNode, emitDependency, emitElement, emitEntity, emitProperties, emitRelation, entityLabel, getPropertyFromAny, getPropertyValueWithUrl, getStringValue, htmlify, htmlify, localnameToString, newProvToDot, newProvToDot, newProvToDot, newProvToDot, nonEmptyLocalName, postlude, prelude, qualifiedNameToString, selectColor, setLayout, setMaxStringLength

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait