GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing maxgraph.github.io — ImageBundle | @maxgraph/core
Class ImageBundleMaps from keys to base64 encoded images or file locations. All values must be URLs or use the format data:image/format followed by a comma and the base64 encoded image data, e.g. "data:image/gif,XYZ", where XYZ is the base64 encoded image data. To add a new image bundle to an existing graph, the following code is used:
ImageBundlePlugin must be registered on the graph. It ships in getDefaultPlugins
and is therefore loaded by Graph out of the box; BaseGraph users must add it
explicitly via the Alt is an optional boolean (default is false) that specifies if the value or the fallback should be returned in getImage. The image can then be referenced in any cell style using image=myImage. If you are using mxOutline, you should use the same image bundles in the graph that renders the outline. The keys for images are resolved in AbstractGraph.postProcessCellStyle and turned into a data URI if the returned value has a short data URI format as specified above. A typical value for the fallback is an HTML link as defined in RFC 2557. Note that this format requires a file to be dynamically created on the server-side, or the page that contains the graph to be modified to contain the resources. This can be done by adding a comment that contains the resource in the HEAD section of the page after the title tag. Note about the
|
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |