Giter Club home page Giter Club logo

plantuml-service's Issues

Can not pull from docker hub

I can not pull from docker hub, any one have the same problem?

Error response from daemon: manifest for bitjourney/plantuml-service:latest not found

PlantUML version update

Hi @gfx , PlantUML now supports mindmaps and it would be great if possible we could get the service and brew version bumped to incorporate this latest version. (i.e. As per #35).

Many thanks.

Problem of SVG image's textLength

When I use Chinese characters, the SVG image's textLength is smaller then expected.

actual

2018-01-17 8 01 23

source code:

<text xmlns="http://www.w3.org/2000/svg" fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="14" x="104" y="28.1543">中文</text>

expected

2018-01-17 8 03 02

source code:

<text xmlns="http://www.w3.org/2000/svg" fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="24" x="104" y="28.1543">中文</text>

SALT is broken when it includes "+"

given the following source:

@startuml
salt
{
{T
 + World
 ++ America
 +++ Canada
 +++ USA
 ++++ New York
 ++++ Boston
 +++ Mexico
 ++ Europe
 +++ Italy
 +++ Germany
 ++++ Berlin
 ++ Africa
}
}
@enduml

expected (using www.plantuml.com):

as of plantml-service 1.2.3 (using plantuml-service.herokuapp.com):

Python 3 POST usage example

Python 3 POST usage example:

from urllib.parse import urlencode
from urllib.request import Request, urlopen

url = 'http://localhost:1608/png'
post_fields = self.text.encode()

request = Request(url, post_fields)
answer = urlopen(request).read().decode()
print(answer)

update to plantuml latest

Hi,
Thank you for your software. I use it prolifically with vscode jebbs plantuml plugin via its plantuml.render setting.

When I preview the following document

@startuml
version
@enduml

I notice the version is 1.2018.3

Is there a way to redirect the plantuml-service to call a local version of the plantuml jar so as to pick up an updated version of the base plantuml.jar?

Cheers.

Where is the server running on localhost?

I started the server with:

D:\>java -jar plantuml-service.jar
[main] INFO com.bitjourney.plantuml.Main - The environment variable GRAPHVIZ_DOT has been set to D:\User\Documents\graphviz-2.38\release\bin\dot.exe
[main] INFO com.bitjourney.plantuml.Main - Dot executable is D:\graphviz-2.38\release\bin\dot.exe
[main] INFO com.bitjourney.plantuml.Main - Dot version: dot - graphviz version 2.38.0 (20140413.2041)
[main] INFO com.bitjourney.plantuml.Main - Installation seems OK. File generation OK
[Thread-7] INFO org.eclipse.jetty.util.log - Logging initialized @2492ms to org.eclipse.jetty.util.log.Slf4jLog
[Thread-7] INFO spark.embeddedserver.jetty.EmbeddedJettyServer - == Spark has ignited ...
[Thread-7] INFO spark.embeddedserver.jetty.EmbeddedJettyServer - >> Listening on 0.0.0.0:1608
[Thread-7] INFO org.eclipse.jetty.server.Server - jetty-9.4.z-SNAPSHOT
[Thread-7] INFO org.eclipse.jetty.server.session - DefaultSessionIdManager workerName=node0
[Thread-7] INFO org.eclipse.jetty.server.session - No SessionScavenger set, using defaults
[Thread-7] INFO org.eclipse.jetty.server.session - Scavenging every 600000ms
[Thread-7] INFO org.eclipse.jetty.server.AbstractConnector - Started ServerConnector@4dd21dcf{HTTP/1.1,[http/1.1]}{0.0.0.0:1608}
[Thread-7] INFO org.eclipse.jetty.server.Server - Started @3145ms

When running https://github.com/plantuml/plantuml-server I could access it on http://localhost:8080/plantuml

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.