splitbrain / dokuwiki-plugin-ditaa

Renders ASCII flowcharts contained in a DokuWiki page to images
http://www.dokuwiki.org/plugin:ditaa
5 stars 5 forks source link

nothing returned once ascii reaches a certain size #4

Closed greenseeker closed 14 years ago

greenseeker commented 14 years ago

The following is an org chart for my company. It renders fine at ditaa.org but does not render with the dokuwiki plugin. Names have been censored to protect the guilty.


/--------------------\
|c090                |
| Board of Directors |
|                    |
\---+----------------/
    |
/---+---------\
|c090         |
| Chairperson |
+-------------+
| xxxxxxxxxxx |
+---+---------+
    |
/---+--------------\
|c090              |
| Vice Chairperson |
+------------------+
| xxxxxxxxxxxxxxxx |
+---+--------------+
    |
/---+-----------------\
|c090                 |
| Secretary/Treasurer |
+---------------------+
|   xxxxxxxxxxxxx     |
+---+-----------------+
    |
    +--------------------+
    |                    |
/---+--------------\ /---+------------\
|c090              | |c090            |
|    President     | | Asst Secretary |
+------------------+ +----------------+
| xxxxxxxxxxxxxxxx | |  xxxxxxxxxxxx  |
+---+--------------+ +----------------+
    |
    +---------------------+-------------------+---------------+--------------+--------------------+-----------------+------------------+
    |                     |                   |               |              |                    |                 |                  |
/---+---------------\ /---+-------------\ /---+---------\ /---+--------\ /---+--------------\ /---+-----------\ /---+------------\ /---+------------------\
|cDB0               | |cDB0   VP        | |cDB0         | |cDB0        | |cDB0    VP        | |cDB0           | |cDB0   VP       | |cDB0      VP          |
|     VP Claims     | | Human Resources | | VP Finance  | | IT Manager | | Commercial Lines | | VP Marketing  | | Personal Lines | | Senior Staff Advisor |
+-------------------+ +-----------------+ +-------------+ +------------+ +------------------+ +---------------+ +----------------+ +----------------------+
| xxxxxxxxxxxxxxxxx | |   xxxxxxxxxxx   | | xxxxxxxxxxx | | xxxxxxxxxx | |  xxxxxxxxxxxxx   | | xxxxxxxxxxxxx | |  xxxxxxxxxxxx  | |   xxxxxxxxxxxxxxx    |
+---+---------------+ +-----------------+ +---+---------+ +------------+ +---+--------------+ +---------------+ +---+------------+ +----------------------+
    |                                         |                              |                                      |
/---+------------\                        /---+-------------\            /---+--------------\                       |
|c8AF            |                        |c8AF             |            |c8AF Asst VP      |                       |
| Asst VP Claims |                        | Head Bookkeeper |            | Commercial Lines |                       |
+----------------+                        +-----------------+            +------------------+                       +-----------------------------------------------+
|     xxxxxx     |                        |   xxxxxxxxxx    |            | xxxxxxxxxxxxxxx  |                                                                       |
+---+------------+                        +---+-------------+            +---+--------------+                                                                       |
    |                                         |                              |                                                                                      |
    +---------------+                         |                       +------+-----------+--------------------------+-------------------------+                     |
    |               |                         |                       |                  |                          |                         |                     |
/---+---------\ /---+------\              /---+-----------------\ /---+------------\ /---+--------------------\ /---+-------------------\ /---+---------------\ /---+-----------\
| Claims Asst | | Adjuster |              |   Asst Bookkeeper   | | CL Underwriter | | CL Renewal Underwriter | | Support Services Asst | |  Mail Assistant   | | Receptionist  |
+-------------+ +----------+              +---------------------+ +----------------+ +------------------------+ +-----------------------+ +-------------------+ +---------------+
|xxxxxxxxxxxx | |  xxxxxx  |              | xxxxxxxxxxxxxxxxxxx | | xxxxxxxxxxxxx  | |     xxxxxxxxxxxxx      | |     xxxxxxxxxxxx      | | xxxxxxxxxxxxxxxxx | | xxxxxxxxxxxxx |
+-------------+ +----------+              |    xxxxxxxxxxxxx    | +----------------+ +------------------------+ |     xxxxxxxxxxxxx     | +-------------------+ +---------------+
                                          +---------------------+                                               |     xxxxxxxxxxxxx     |
                                                                                                                +-----------------------+
greenseeker commented 14 years ago

Trim the bottom 12 lines off and it works.

splitbrain commented 14 years ago

Hmm the problem seems to be that the request URL becomes too long. We'd need a post request to work around the problem, but that isn't that simple with how the plugin currently works... I'll think about it.

splitbrain commented 14 years ago

now works with large graphs. closed by 05cbae881d27bfa0a9b0e51091292504e3b0e34e