plantuml / plantuml-stdlib

Contains official Standard Library for PlantUML
549 stars 120 forks source link

classy-C4 not working with official PlantUML #56

Closed anb0s closed 2 weeks ago

anb0s commented 2 years ago

I've tried classy-C4 with official PlantUML server and it shows this errors

image

arnaudroques commented 2 years ago

Can you post your complete example?

@startuml
!include <DomainStory/domainStory>
Boundary(System) {
    Person(Alice)
    Conversation(weather)
    Person(Bob)
}
activity(1, Alice, talks about the, weather, with, Bob)
@enduml

is working for us.

Thanks!

anb0s commented 2 years ago

I'm sorry i've copied the wrong link (from testing domainstory), now updated

@startuml
Bob -> Alice : hello

    !include <classy-c4/container>
    !include <classy-c4/person>
    !include <classy-c4/system>

    !$system = $new(System)
    $call($system, 'setName', 'Label', $void=%true())
    $call($system, 'setDescription', 'Optional Description', $void=%true())

    !$person = $new(Person)
    $call($person, 'setName', 'Label', $void=%true())
    $call($person, 'setDescription', 'Optional Description', $void=%true())

    !$container = $new(Container)
    $call($container, 'setName', 'Label', $void=%true())
    $call($container, 'setDescription', 'Optional Description', $void=%true())
    $call($container, 'setTechnology', 'Technology', $void=%true())

    !$personAlias = $call($person, 'render')
    !$containerAlias = $call($container, 'render')
    $call($system, 'render', $void=%true())

    Rel($personAlias, $containerAlias, "Label", "Optional Technology")
@enduml
johnholliday commented 1 year ago

Any update? Having the same issue - cannot use Classy-C4.

arnaudroques commented 1 year ago

Any update? Having the same issue - cannot use Classy-C4.

I think the issue is on classy-c4 side, so you should open an issue here https://github.com/james-gadrow-kr/classy-c4

The-Lum commented 5 months ago

FYI that is now fixed by:

Thanks @james-gadrow-kr

The-Lum commented 2 weeks ago

Hi all,

[This is an Issue Review] 👀 This is now fixed.

Regards.