Changes between Version 6 and Version 7 of TracXsdPlotMacro


Ignore:
Timestamp:
Jul 27, 2016, 8:35:31 AM (8 years ago)
Author:
Theodor Norup
Comment:

Update param descriptions to V1.1

Legend:

Unmodified
Added
Removed
Modified
  • TracXsdPlotMacro

    v6 v7  
    1111Output is as indicated in this example:
    1212
    13 [[Image(trac-hacks-example.png,width=300)]]
     13[[Image(trac-hacks-example_1.1.png,width=300)]]
    1414
    15 === Assumptions
    16 
    17 The current version assumes that an XSD file contains exactly one `ComplexType` definition at top level.
    1815
    1916== !Bugs/Feature Requests
     
    7673}}}
    7774
     75== Possible trac links for input files/resources:
    7876
    79 The Location of the resource (first parameter) can be an attachment (to a wikipage, or a ticket) a file in svn or a local file (keyword "file:").
     77||= Trac link =||= Alternatives =||= Comment              =||
     78|| wiki:        ||  !JustPageName || Wiki page attachment ||
     79|| ticket:      ||  !#1           || Ticket attachment    ||
     80|| source:      ||  browser,repos || File stored in subversion ||
     81|| file:        ||                || Local file. Path prefix read from `file.prepath` in trac.ini  ||
    8082
    81 ||= '''Trac link''' =||= '''Alternatives''' =||= '''Comment''' =||
    82 || `wiki`        ||  !JustPageName || Attachment in wikipage ||
    83 || `ticket`      ||  !#1           ||                        ||
    84 || `source`      ||  browser,repos ||                        ||
    85 || `file`        ||                || remember configuration value `file.prepath`   ||
    8683
    87 ''Parameters:''
     84== XSD layout selectiveness control parameters:
     85||= Parameter =||= Value                 =||= Default =||
     86|| top-element || select specific top XSD element of plot || assumes file to contain '''exactly one''' XSD root element. Otherwise the first element encountered will be plotted. ||
     87|| depth       || maximum depth counted in elements || infinity ||
     88|| stop-list   || Pipe-separated list of XSD element names where recursive descent shall stop || empty ||
    8889
    89 ||= '''Parameter''' =||= '''Value'''                 =||= '''Default''' =||                         ||
    90 || `xsdfile`   || location of XSD file    ||           || required                ||
    91 || `width`       || width in pixel          || 600       ||  must be absolute value ||
    92 || `caption`     || caption under image     || ''none''  ||                         ||
    93 || `label`       || anchor to link to       ||           ||                         ||
    94 || `cache`       || build once or each time || True      ||  time consumption or changing vectorgraphics  ||
    95 || `align`       || left|right              || nothing   ||                         ||
     90
     91== Other parameters:
     92||= Parameter =||= Value                 =||= Default =||= Note =||
     93|| img-type    || 'png' or 'svg'          || svg       || case INsensitive ||
     94|| width       || width in pixel          || 600       || must be absolute value ||
     95|| caption     || Caption under image     || ''none''  ||       ||
     96|| label       || anchor to link to       ||           ||       ||
     97|| cache       || build once or each time || True      || time consumption or changing vector graphics  ||
     98|| align       || left|right              || nothing   ||       ||
     99
    96100
    97101== Recent Changes