g3-toolkit API Reference
    Preparing search index...

    Class VisualEncodingManager

    Stateful manager for visual-encoding configuration (P3.1).

    Holds an EncodingConfig and provides a toCytoscapeStyle() method that translates the current config to a Cytoscape stylesheet for the given UGM and type palette. Lets callers update() the config incrementally without re-passing the whole config each time.

    const mgr = new VisualEncodingManager();
    mgr.update({ nodeSizeProperty: "weight" });
    const styles = mgr.toCytoscapeStyle(ugm, palette);
    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    config: EncodingConfig = ...

    Methods