Giter Site home page Giter Site logo

Problem with Notes about vscode-yuml HOT 5 CLOSED

jaime-olivares avatar jaime-olivares commented on August 19, 2024 1
Problem with Notes

from vscode-yuml.

Comments (5)

jaime-olivares avatar jaime-olivares commented on August 19, 2024

I tried the ready-made examples. Could you please post the difference?

from vscode-yuml.

chezwicker avatar chezwicker commented on August 19, 2024

As an example, here are the first lines from the class diagram (that works)

// {type:class}
// {direction:topDown}
[note: You can stick notes on diagrams too!{bg:cornsilk}]
[Customer]<>1-orders 0..*>[Order]

Unfortunately, adding one more line with a note does not:

// {type:class}
// {direction:topDown}
[note: You can stick notes on diagrams too!{bg:cornsilk}]
[Customer]<>1-orders 0..*>[Order]
[Order]-[note:asdf]

For comparison (to be sure about the syntax): http://yuml.me/edit/184be5b8

This is running on VSC 1.9.1 with vscode-yuml 2.10.0. To be sure, I tried the same workspace with 1.3.0 and 1.7.1. Runs perfectly with 1.3.0, but not with 1.7.1.

from vscode-yuml.

chezwicker avatar chezwicker commented on August 19, 2024

Any update on this? Were you able to reproduce the problem? The easiest option might be to revert to 1.3.0 for now...

from vscode-yuml.

jornj avatar jornj commented on August 19, 2024

I've just experienced problems with notes in class diagrams for VSC 1.18.1. Extension yUML version 2.10.0.

The note field works just fine alone, but causes an error when attached to a class, as seen with the example from the vscode-yuml wiki:
[Address]-[note: Value Object] results in Error composing the diagram

from vscode-yuml.

jaime-olivares avatar jaime-olivares commented on August 19, 2024

This issue has been isolated and determined that is caused by newer versions of viz.js

I will use an old version of viz-lite.js

from vscode-yuml.

Related Issues (20)

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.