Tabnine Logo
SigmaJSHtmlWriter
Code IndexAdd Tabnine to your IDE (free)

How to use
SigmaJSHtmlWriter
in
org.jboss.windup.graph.renderer.html

Best Java code snippets using org.jboss.windup.graph.renderer.html.SigmaJSHtmlWriter (Showing top 4 results out of 315)

origin: org.jboss.windup/windup-grapher

public void renderSigma(File output) throws FileNotFoundException, IOException {
  LOG.debug("Writing Sigmajs graph to: "+output.getAbsolutePath());
  render(new SigmaJSHtmlWriter(graph), output);
}

origin: org.jboss.windup.legacy.application/grapher

public void writeGraph(final OutputStream os) throws IOException {
  // read in the html template resource.
  InputStream is = this.getClass().getClassLoader().getResourceAsStream("sigmajs/HtmlTemplate.html");
  String result = null; 
  {
    ByteArrayOutputStream baos = new ByteArrayOutputStream();
    gexfWriter.writeGraph(baos);
    result = baos.toString();
  }
  
  if(LOG.isDebugEnabled())  {
    LOG.debug("GEXF: "+result);
  }
  
  // read the document.
  Document document;
  try {
    document = $(is).document();
    // append in the gexf.
    $(document).find("#gexf-source").append(result);
    writeDocument(document, os);
  } catch (SAXException e) {
    throw new IOException("Exception loading document.", e);
  }
}
origin: org.jboss.windup/windup-grapher

public void writeGraph(final OutputStream os) throws IOException {
  // read in the html template resource.
  InputStream is = this.getClass().getClassLoader().getResourceAsStream("sigmajs/HtmlTemplate.html");
  String result = null; 
  {
    ByteArrayOutputStream baos = new ByteArrayOutputStream();
    gexfWriter.writeGraph(baos);
    result = baos.toString();
  }
  
  if(LOG.isDebugEnabled())  {
    LOG.debug("GEXF: "+result);
  }
  
  // read the document.
  Document document;
  try {
    document = $(is).document();
    // append in the gexf.
    $(document).find("#gexf-source").append(result);
    writeDocument(document, os);
  } catch (SAXException e) {
    throw new IOException("Exception loading document.", e);
  }
}
origin: org.jboss.windup.legacy.application/grapher

public void renderSigma(File output) throws FileNotFoundException, IOException {
  LOG.debug("Writing Sigmajs graph to: "+output.getAbsolutePath());
  render(new SigmaJSHtmlWriter(graph), output);
}

org.jboss.windup.graph.renderer.htmlSigmaJSHtmlWriter

Most used methods

  • <init>
  • writeDocument

Popular in Java

  • Finding current android device location
  • getContentResolver (Context)
  • startActivity (Activity)
  • setContentView (Activity)
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now