@antv/g2
Version:
the Grammar of Graphics in Javascript
16 lines (14 loc) • 383 B
text/typescript
import { Sankey, Treemap, Pack, ForceGraph, Tree, Chord } from '../mark';
import { Arc, Cluster } from '../data';
export function graphlib() {
return {
'data.arc': Arc,
'data.cluster': Cluster,
'mark.forceGraph': ForceGraph,
'mark.tree': Tree,
'mark.pack': Pack,
'mark.sankey': Sankey,
'mark.chord': Chord,
'mark.treemap': Treemap,
} as const;
}