Git Product home page Git Product logo

yumlmaker's Introduction

A parser designed to generate yUML URLs from YAML files.

Currently only supports what I have needed it to support, as I need to add more things its support will grow.

See LICENSE for the licensing info.

Current YAML format:

imports:
  - <first file>
  - <second file>


classes:
  - name: <name>
    bases:
      - <superclasses>
      - <or interfaces>
    compositiongs:
      - name: <first class name>
        num: <number of the objects>
      - name: <second class name>
        num: <number of the objects>
    aggregations:
      - name: <first class name>
        num: <number of the objects>
        title: <the title of the connection>
      - name: <second class name>
        num: <number of the objects>
        title: <the title of the connection>
    properties:
      - <first property>
      - <...>
      - <last property>
    styles: 
      bg: orange
      
  - name: <other class name>
    .
    .
    .

To view the example replace <path> in Example\sharpsnmp.yaml with the path to this directory, then copy-paste that file into the textbox on the left and hit refresh. This should generate

http://yuml.me/diagram/class/[﹤﹤IObjectTree﹥﹥],[﹤﹤IObjectRegistry﹥﹥],[ObjectRegistryBase],[DefaultObjectRegistry],[ReloadableObjectRegistry],[﹤﹤IDefinition﹥﹥],[Definition],[Enum;DefinitionType|Unknown;OidValueAssignment;Scalar;Table;Entry;Column],[ObjectIdentifier],[Variable],[﹤﹤ITypeAssignment﹥﹥],[ValueRange{bg:green}],[Macro],[Choice],[IntegerType;Was Integer{bg:orange}],[Sequence],[TypeAssignment],[OctetStringType{bg:green}],[BitsType{bg:green}],[﹤﹤IConstruct﹥﹥],[﹤﹤IEntity﹥﹥],[ObjectType],[Symbol{bg:orange}],[TextualConvention{bg:orange}],[MibModule{bg:orange}],[Lexer{bg:orange}],[﹤﹤IObjectTree﹥﹥]++-1>[﹤﹤IDefinition﹥﹥],[﹤﹤IObjectRegistry﹥﹥]++-1>[﹤﹤IObjectTree﹥﹥],[﹤﹤IObjectRegistry﹥﹥]^[ObjectRegistryBase],[ObjectRegistryBase]^[DefaultObjectRegistry],[ObjectRegistryBase]^[ReloadableObjectRegistry],[﹤﹤IEntity﹥﹥]^[﹤﹤IDefinition﹥﹥],[﹤﹤IDefinition﹥﹥]+-0..* Children>[﹤﹤IDefinition﹥﹥],[﹤﹤IDefinition﹥﹥]+-0..1 Parent>[﹤﹤IDefinition﹥﹥],[﹤﹤IDefinition﹥﹥]+-1 Type>[Enum;DefinitionType],[﹤﹤IDefinition﹥﹥]^[Definition],[﹤﹤ISnmpData﹥﹥]^[ObjectIdentifier],[Variable]++-1>[ObjectIdentifier],[Variable]++-1>[﹤﹤ISnmpData﹥﹥],[﹤﹤IConstruct﹥﹥]^[﹤﹤ITypeAssignment﹥﹥],[﹤﹤ITypeAssignment﹥﹥]^[Macro],[﹤﹤ITypeAssignment﹥﹥]^[Choice],[﹤﹤ITypeAssignment﹥﹥]^[IntegerType;Was Integer],[IntegerType;Was Integer]++-0..*>[ValueRange],[﹤﹤ITypeAssignment﹥﹥]^[Sequence],[﹤﹤ITypeAssignment﹥﹥]^[TypeAssignment],[﹤﹤ITypeAssignment﹥﹥]^[OctetStringType],[OctetStringType]++-0..*>[ValueRange],[﹤﹤ITypeAssignment﹥﹥]^[BitsType],[﹤﹤IConstruct﹥﹥]^[﹤﹤IEntity﹥﹥],[﹤﹤IEntity﹥﹥]^[ObjectType],[﹤﹤IConstruct﹥﹥]^[TextualConvention].

In the right-hand textbox and load http://bit.ly/ev2xq3 in the browser.

For some reason loading the image in the built-in browser doesn't seem to work, for now you can just copy-paste the URL to your own browser to view the image.

yumlmaker's People

Contributors

nemo157 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

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.