SDF fonts

Live example: https://vchilkuri.github.io/examples/sdf.html

The above example is one of the implementations of the usage of different kind of fonts for labeling the nodes and edges as we discussed in the features of ccNetViz at the starting of the chapter. The font used in this example is defined in the node object as shown below.

              font: {
                        type:    "sdf",
                        pbf: "https://helikarlab.github.io/ccNetViz/fonts/FineHand/0-65535.pbf",
                    }

The link provided in the starting of the chapter has various pre-designed fonts available to use and also the user can develop custom fonts in pbf format from the node-fontlink tool.

results matching ""

    No results matching ""