Skip to content

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 21 Feb 02:54
· 138 commits to main since this release

Minor Changes

  • #5 25ab36a Thanks @davidkpiano! - - Add DOT format (@statelyai/graph/dot)

    • Add Mermaid formatters: flowchart, sequence, state, class diagram, ER, mindmap, block
    • Add getRelativeDistanceMap and getRelativeDistance (queries)
    • Restructure formats into per-format subpackages with READMEs
  • #3 bcf8c48 Thanks @davidkpiano! - Add format converters for JGF, Cytoscape.js JSON, D3 force JSON, GEXF, GML, and TGF

    • New GraphFormatConverter<TSerial> interface and createFormatConverter() factory
    • 6 new format modules with bidirectional to*/from* functions: toJGF/fromJGF, toCytoscapeJSON/fromCytoscapeJSON, toD3Graph/fromD3Graph, toGEXF/fromGEXF, toGML/fromGML, toTGF/fromTGF
    • Input validation with descriptive error messages on all from* functions
    • End-to-end integration tests with real Cytoscape.js and D3 force libraries
    • cytoscape and d3-force added as optional peer dependencies