Class GraphWriter

    • Constructor Detail

      • GraphWriter

        public GraphWriter​(org.lemsml.jlems.core.type.Lems lems)
                    throws ModelFeatureSupportException,
                           org.neuroml.model.util.NeuroMLException,
                           org.lemsml.jlems.core.sim.LEMSException
        Throws:
        ModelFeatureSupportException
        org.neuroml.model.util.NeuroMLException
        org.lemsml.jlems.core.sim.LEMSException
      • GraphWriter

        public GraphWriter​(org.lemsml.jlems.core.type.Lems lems,
                           File outputFolder,
                           String outputFileName)
                    throws ModelFeatureSupportException,
                           org.neuroml.model.util.NeuroMLException,
                           org.lemsml.jlems.core.sim.LEMSException
        Throws:
        ModelFeatureSupportException
        org.neuroml.model.util.NeuroMLException
        org.lemsml.jlems.core.sim.LEMSException
    • Method Detail

      • setSupportedFeatures

        public void setSupportedFeatures()
      • getDimensionString

        protected String getDimensionString​(String dim)
      • getCompTypeInfo

        protected String getCompTypeInfo​(org.lemsml.jlems.core.type.ComponentType compType)
                                  throws org.lemsml.jlems.core.sim.ContentError
        Throws:
        org.lemsml.jlems.core.sim.ContentError
      • addCompTypeAndChildrenAndExtends

        protected void addCompTypeAndChildrenAndExtends​(org.lemsml.jlems.core.type.ComponentType compType,
                                                        String parent,
                                                        String extendedType,
                                                        int depth)
                                                 throws org.lemsml.jlems.core.sim.ContentError
        Throws:
        org.lemsml.jlems.core.sim.ContentError
      • getValAndUnit

        protected String getValAndUnit​(double value,
                                       String dimName)
                                throws org.lemsml.jlems.core.sim.ContentError
        Throws:
        org.lemsml.jlems.core.sim.ContentError
      • addCompAndChildren

        protected void addCompAndChildren​(org.lemsml.jlems.core.type.Component comp,
                                          String parent,
                                          String arrowLabel)
                                   throws org.lemsml.jlems.core.sim.ContentError
        Throws:
        org.lemsml.jlems.core.sim.ContentError