plantuml/plantuml-stdlib

classy-C4 not working with official PlantUML

anb0s opened this issue · 5 comments

anb0s commented

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

image

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

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

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

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