Exception: Cannot parse result from dot/GraphViz

0 votes
asked Apr 30, 2023 in Bug by anonymous
To verify the exception, please use:

//www.plantuml.com/plantuml/png/hPB1JiGW48RlVOev6_S5UjgQNZTkidip7X36jQQb6vZgLiExYqsHBG6nYTmOc7y-ldQhYIaQkhQW_eJqWWe-2x2BjqnhEAAccX6xVtf5Jjz7yzhGU4Q_mykvKIYcWWdw3nNd_I09y48enM-Xe93tIXnjTWaFEzR8MpZOaXHCZOzNzpfxv7BzqEMucutR-sl18vUWrGIKutGC5Jmts0hzKpMno9MP7uD2I2IRs0iIfP0YyWMg249IxvB4hUliilHDa_p0VWgjnhU6umeooKuexiOCrfnhgLo3HLe0UxihHCPD_flAFxfCmOKgCsZzkqILPPezJfUzmxH43xJVx-h4Z-zn0fGWpCMu-L4LfZ355gKOklOB

Or use the following diagram definition:

@startuml
together {
    class TestDataObject {
        -type
        -expired
    }
    class TestSAccount extends TestDataObject {
        - recordType: [Main, Secondary]
        - mainSAccount
    }
    TestSAccount *- TestSAccount
    together {
        class TestAObject extends TestDataObject {
            -A fields
        }
        class TestAAObject extends TestDataObject {
            -Azure A fields
        }
    }
    together {
        together {
            class TestAAccount extends TestAObject {
                - mainSAccount
            }
            TestAAccount::mainSAccount *-- TestSAccount

            class TestADevice extends TestAObject {
                - managedBy
            }
            TestADevice::managedBy *- TestAAccount
        }
        together {
            class TestAAAccount extends TestAAObject {
                - mainSAccount
            }
            TestAAAccount::mainSAccount *-- TestSAccount
            class TestAAevice extends TestAAObject {
                - owner
            }
            TestAAevice::owner *- TestAAAccount
        }
        class TestPPMD extends TestDataObject{
            - owner
        }
        TestPPMD::owner *-- TestSAccount
    }
}
@enduml

1 Answer

0 votes
answered May 3, 2023 by poi (1,200 points)

I reproduced the exception with PlantUML 1.2023.6 together with graphviz 2.44.1.

I modified line 30 and 40 to read

           TestADevice::managedBy *-- TestAAccount

           TestAAevice::owner *--- TestAAAccount

which made the script produce a diagram.

...