• Places
    • Home
    • Graphs
    • Prefixes
  • Admin
    • Users
    • Settings
    • Plugins
    • Statistics
  • CPACK
    • Home
    • List packs
    • Submit pack
  • Repository
    • Load local file
    • Load from HTTP
    • Load from library
    • Remove triples
    • Clear repository
  • Query
    • YASGUI SPARQL Editor
    • Simple Form
    • SWISH Prolog shell
  • Help
    • Documentation
    • Tutorial
    • Roadmap
    • HTTP Services
  • Login

/srv/ClioPatria/hooks.pl
All Application Manual Name SummaryHelp

  • srv
    • ClioPatria
      • parms.pl -- ClioPatria parameters
      • hooks.pl -- ClioPatria hooks
        • label_property/1
        • menu_item/2
        • menu_label/2
        • menu_popup_order/2
        • bnode_label//1
        • list_resource//2
        • user_preference_db/2
        • user_preference_default/2
        • page_body//1
        • page_body//2
        • server_address//0
        • logo//0
        • predicate_order/2
        • context_graph/3
        • context_graph/3
        • context_predicate/2
        • node_label/4
        • node_shape/3
        • bag_shape/3
        • edge_shape/3
      • cliopatria.pl -- ClioPatria main module
 bag_shape(+Bag, -Shape, +Options) is semidet[multifile, cpacks(hooks)]
Compute the desired properties for a table used to display a bag of resources. Shape options include:
max(Max)
Only show the first Max members of the bag. Default is 5.
shape(Shape)
Basic shape
style(Style)
Style options
max_label_length(Chars)
Truncate labels that have more then Chars characters.
Arguments:
Bag- is a list of member resources
ClioPatria (version V3.1.1-51-ga0b30a5)