GithubHelp home page GithubHelp logo

modsl's People

Watchers

Mehdi Lefebvre avatar  avatar

modsl's Issues

Add diagram sample links to web service

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


Please use labels and text to provide additional information.


Original issue reported on code.google.com by [email protected] on 13 Jun 2008 at 2:37

Horizontal bars for the FR algorithm

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


Please use labels and text to provide additional information.


Original issue reported on code.google.com by [email protected] on 2 May 2008 at 11:30

Bi-Directional relationships throws RuntimeException

I've used the the following code in the webService:

class diagram Sample {
   class Car {
      1->3(Mirror);
   }

   class Mirror {
      1->1(Car)
   }
}

And got the following exception:

    org.modsl.core.agt.layout.sugiyama.SugiyamaLayoutVisitor.topologicalSort(SugiyamaLayoutVisitor.java:163)
    org.modsl.core.agt.layout.sugiyama.SugiyamaLayoutVisitor.splitIntoLayers(SugiyamaLayoutVisitor.java:76)
    org.modsl.core.agt.layout.sugiyama.SugiyamaLayoutVisitor.apply(SugiyamaLayoutVisitor.java:51)
    org.modsl.core.agt.visitor.AbstractMetaTypeVisitor.in(AbstractMetaTypeVisitor.java:81)
    org.modsl.core.agt.model.Graph.accept(Graph.java:104)
    org.modsl.core.lang.uml.UMLTranslator.layout(UMLTranslator.java:62)
    org.modsl.core.lang.AbstractTranslator.translate(AbstractTranslator.java:28)
    org.apache.jsp.uml_jsp._jspService(uml_jsp.java:58)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    sun.reflect.GeneratedMethodAccessor118.invoke(Unknown Source)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:585)
    org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:239)
    java.security.AccessController.doPrivileged(Native Method)
    javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:266)
    org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:157)

Original issue reported on code.google.com by [email protected] on 10 Aug 2008 at 12:25

Starting development: org.modsl.antlr cannot be resolved (source code missing?)

Hello,

I would like to contribute to the project and am therefore setting up Eclipse 
to first of all import 
the code and getting it to run, and then do some development. However I can't 
get the project to 
build due to an unresolvable import. Could it be missing code ?

What steps will reproduce the problem?
1. Using Eclipse 3.5 (specifically: Build id: 20090920-1017)
2. Installed dependencies following the items on the Wiki
3. Opened SVN repository perspective in Eclipse and connected to modsl 
repository. Check out 
the trunc as a Maven project.
4. I get build errors in two files in modsl-core (BasicTranslator.java and 
UMLTranslator.java). The 
core seems to be 'The import org.modsl.antlr cannot be resolved' (as a result 
some types cannot 
be resolved (BasicLexer, BasicParser, UMLLexer, UMLParser)

This is using the latest Eclipse, ANTLR 3.01 (not 3.2), on OS-X.

I have never used Maven before, so maybe it is some configuration issue, but I 
have the 
impression that the source of some files is simply missing?

Original issue reported on code.google.com by [email protected] on 9 Nov 2009 at 11:28

Collaboration diagram - notes

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


Please use labels and text to provide additional information.


Original issue reported on code.google.com by [email protected] on 13 Jun 2008 at 2:18

Reset/revert for web service

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


Please use labels and text to provide additional information.


Original issue reported on code.google.com by [email protected] on 13 Jun 2008 at 2:17

Self relationship throws RuntimeException

I'm trying to render a diagram with the following code:

class diagram User {
    class MenuCategory {
        id:Long;name:String;

        1->1(MenuCategory); 
        1->*(MenuCategory); 
    }
}

The following exception is thrown:

org.modsl.core.util.ModSLException: Topological sort failed for
User:CLASS_GRAPH@(0.0,0.0) in Sugiyama layout, remaining nodes: []
    org.modsl.core.agt.layout.sugiyama.SugiyamaLayoutVisitor.topologicalSort(SugiyamaLayoutVisitor.java:163)
    org.modsl.core.agt.layout.sugiyama.SugiyamaLayoutVisitor.splitIntoLayers(SugiyamaLayoutVisitor.java:76)
    org.modsl.core.agt.layout.sugiyama.SugiyamaLayoutVisitor.apply(SugiyamaLayoutVisitor.java:51)
    org.modsl.core.agt.visitor.AbstractMetaTypeVisitor.in(AbstractMetaTypeVisitor.java:81)
    org.modsl.core.agt.model.Graph.accept(Graph.java:104)
    org.modsl.core.lang.uml.UMLTranslator.layout(UMLTranslator.java:62)
    org.modsl.core.lang.AbstractTranslator.translate(AbstractTranslator.java:28)
    org.apache.jsp.uml_jsp._jspService(uml_jsp.java:58)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    sun.reflect.GeneratedMethodAccessor138.invoke(Unknown Source)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:585)
    org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:239)
    java.security.AccessController.doPrivileged(Native Method)
    javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:266)
    org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:157)











Original issue reported on code.google.com by [email protected] on 31 Aug 2008 at 5:40

error java.lang.NoSuchFieldError: type at org.modsl.antlr.uml.UMLLexer.mT22(UMLLexer.java:253)

that´s my code:

        try{
        StyleLoader stl = new StyleLoader();
        stl.load("cfg/uml:cfg", "uml", UMLMetaType.class);
        UMLTranslator translator = new UMLTranslator();
        String cls = "class diagram Sample {  abstract class 
AbstractElement {      name; parent; type;   } }";
        BufferedImage image = translator.translate(cls);
        ImageIO.write(image, "png", new File("diagram.png"));
        }catch(Exception e){
            e.printStackTrace();
        }

jars : antlr-runtime-3.2.jar and modsl-core-0.6.4-SNAPSHOT (1).jar

java 5.0

Original issue reported on code.google.com by [email protected] on 26 Sep 2009 at 12:31

Allow international character's on ID

What steps will reproduce the problem?
1. Create a class diagram that has international character's on its names.

sample:
class diagram A { class A { testvar:description; test2:abcädef;} }

(we use the part after the name as description, and there are international
chars in it... :-/)

the lexer has trouble with it.

This patch fixes this issue:

Index: src/main/antlr/org/modsl/antlr/uml/UML.g
===================================================================
--- src/main/antlr/org/modsl/antlr/uml/UML.g    (revision 840)
+++ src/main/antlr/org/modsl/antlr/uml/UML.g    (working copy)
@@ -113,7 +113,7 @@
 STRING: '"' .* '"';

 EDGEOP: '->';
-ID: ('_' | 'a'..'z' | 'A'..'Z') (INT | '_' | 'a'..'z' |'A'..'Z' | '[' | ']')*;
+ID: ('_' | 'a'..'z' | 'A'..'Z' | 'À'..'ÿ') (INT | '_' | 'a'..'z' |'A'..'Z'
| 'À'..'ÿ' | '[' | ']')*;
 INT : '0'..'9'+ ;
 WS: (' ' | '\t' | NEWLINE)+ { skip(); };
 fragment NEWLINE:'\r'? '\n';


Original issue reported on code.google.com by [email protected] on 6 Aug 2009 at 11:55

MediaWiki plugin

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


Please use labels and text to provide additional information.


Original issue reported on code.google.com by [email protected] on 27 Jun 2008 at 6:36

Sequence diagram support

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


Please use labels and text to provide additional information.


Original issue reported on code.google.com by [email protected] on 13 Jun 2008 at 2:51

Mediawiki plugin

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?


Please use labels and text to provide additional information.


Original issue reported on code.google.com by [email protected] on 13 Jun 2008 at 2:16

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.