Class SVGWriter

All Implemented Interfaces:
IBaseWriter

public class SVGWriter extends ANeuroMLXMLWriter
  • Field Details

    • useColor

      public boolean useColor
  • Constructor Details

    • SVGWriter

      public SVGWriter(org.neuroml.model.NeuroMLDocument nmlDocument, File outputFolder, String outputFileName) throws ModelFeatureSupportException, org.lemsml.jlems.core.sim.LEMSException, org.neuroml.model.util.NeuroMLException
      Throws:
      ModelFeatureSupportException
      org.lemsml.jlems.core.sim.LEMSException
      org.neuroml.model.util.NeuroMLException
  • Method Details

    • setSupportedFeatures

      public void setSupportedFeatures()
    • getMainScript

      public String getMainScript() throws GenerationException
      Throws:
      GenerationException
    • getAllBasedOnCell

      public List<org.neuroml.model.Cell> getAllBasedOnCell(org.neuroml.model.NeuroMLDocument nmlDocument)
    • render

      public RectanglePacker.Rectangle render(StringBuilder result, boolean png) throws org.neuroml.model.util.NeuroMLException
      Throws:
      org.neuroml.model.util.NeuroMLException
    • convertToPng

      public void convertToPng(File pngFile) throws org.neuroml.model.util.NeuroMLException
      Throws:
      org.neuroml.model.util.NeuroMLException
    • main

      public static void main(String[] args) throws Exception
      Throws:
      Exception
    • convert

      public List<File> convert()