Algviz

Latest version: v0.3.1

Safety actively analyzes 630523 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

0.1.8

Change log

+ **New interfaces**:
+ [TreeNode.childCount](https://algviz.readthedocs.io/en/0.1.8/api.html#algviz.tree.TreeNode.childCount) returns the children nodes count.
+ [GraphNode.neighborCount](https://algviz.readthedocs.io/en/0.1.8/api.html#algviz.graph.GraphNode.neighborCount) returns the neighbors count of this node.
+ **Logger new display style**: set the log font size and whether to show log line num in the [Visualizer.createLogger](https://algviz.readthedocs.io/en/0.1.8/api.html#algviz.visual.Visualizer.createLogger) interface.

0.1.7

+ New interfaces [TreeNode.childAt](https://algviz.readthedocs.io/en/0.1.7/api.html#algviz.tree.TreeNode.childAt), [TreeNode.childIndex](https://algviz.readthedocs.io/en/0.1.7/api.html#algviz.tree.TreeNode.childIndex) and [TreeNode.removeAt](https://algviz.readthedocs.io/en/0.1.7/api.html#algviz.tree.TreeNode.removeAt) for `TreeNode`.
+ New interfaces [GraphNode.neighborAt](https://algviz.readthedocs.io/en/0.1.7/api.html#algviz.graph.GraphNode.neighborAt), [GraphNode.neighborIndex](https://algviz.readthedocs.io/en/0.1.7/api.html#algviz.graph.GraphNode.neighborIndex) and [GraphNode.removeAt](https://algviz.readthedocs.io/en/0.1.7/api.html#algviz.graph.GraphNode.removeAt) for `GraphNode`.

0.1.6

+ **Interfaces change**
+ [Visualizer.createCursor](https://algviz.readthedocs.io/en/0.1.6/api.html#algviz.visual.Visualizer.createCursor) swap the position of parameters `offset` and `name`.
+ [Visualizer.cursorRange](https://algviz.readthedocs.io/en/0.1.6/api.html#algviz.visual.Visualizer.cursorRange) swap the position of parameters `step` and `name`.
+ Add a new class [RecursiveTree](https://algviz.readthedocs.io/en/0.1.6/api.html#algviz.tree.RecursiveTree), which can make it easier to track the recursive algorithm.
+ **Fixed bugs**:
+ Crash when the [TreeNode](https://algviz.readthedocs.io/en/0.1.6/api.html#algviz.tree.TreeNode) value is an empty string.
+ [CursorRange](https://algviz.readthedocs.io/en/0.1.6/api.html/#algviz.Visualizer.cursorRange) iterator range error.

0.1.5

+ Fixed some known bugs about cursor.
+ Update some constructor interfaces.

0.1.4

This version adjusts the interfaces to create or remove cursors.
Instead of creating the identical cursors bound with different Vector or Table objects,
you can create the cursor one time then it will be bound with display objects which been accessed by the cursor.

+ **Interfaces change**:
+ **[Cursor](https://algviz.readthedocs.io/en/0.1.4/api.html#algviz.cursor.Cursor) operations extend**:
+ Add assignment operation: `<<`
+ Add mathmatics operations: `%`, `+=`, `-=`, `*=`, `//=`, `%=`
+ **Added interfaces**: [`Visualizer.createCursor`](https://algviz.readthedocs.io/en/0.1.4/api.html#algviz.visual.Visualizer.createCursor), [`Visualizer.removeCursor`](https://algviz.readthedocs.io/en/0.1.4/api.html#algviz.visual.Visualizer.removeCursor), [`Visualizer.cursorRange`](https://algviz.readthedocs.io/en/0.1.4/api.html#algviz.visual.Visualizer.cursorRange)
+ **Deprecated interfaces**: [`Vector.new_cursor`](https://algviz.readthedocs.io/en/0.1.3/api.html#algviz.vector.Vector.new_cursor), [`Vector.remove_cursor`](https://algviz.readthedocs.io/en/0.1.3/api.html#algviz.vector.Vector.remove_cursor), [`Table.new_col_cursor`](https://algviz.readthedocs.io/en/0.1.3/api.html#algviz.table.Table.new_col_cursor), [`Table.new_row_cursor`](https://algviz.readthedocs.io/en/0.1.3/api.html#algviz.table.Table.new_row_cursor), [`Table.remove_cursor`](https://algviz.readthedocs.io/en/0.1.3/api.html#algviz.table.Table.remove_cursor), [`Cursor.dec`](https://algviz.readthedocs.io/en/0.1.3/api.html#algviz.cursor.Cursor.dec), [`Cursor.inc`](https://algviz.readthedocs.io/en/0.1.3/api.html#algviz.cursor.Cursor.inc), [`Cursor.update`](https://algviz.readthedocs.io/en/0.1.3/api.html#algviz.cursor.Cursor.update).
+ Added new class: [`AlgvizTypeError`](https://algviz.readthedocs.io/en/0.1.4/api.html#algviz.utility.AlgvizTypeError).
+ Fixed bugs:
+ Can not access Table row/column index with Cursor object.
+ Cursor move distance error when cell width is not equal with cell height in Table/Vector.

0.1.3

+ **Interfaces change**:
+ Remove [colorsInfo()](https://algviz.readthedocs.io/en/0.1.1/api.html#algviz.colorsInfo) and `colors`, use `color_black`, `color_red` and so on instead.
+ Update interface [Visualizer.createTable](https://algviz.readthedocs.io/en/latest/api.html#algviz.visual.Visualizer.createTable): change the type of paramter `cell_size` from **float** into **tuple(float, float)**, in order to support setting the cell height of table elements.
+ Update interface [Visualizer.createVector](https://algviz.readthedocs.io/en/latest/api.html#algviz.visual.Visualizer.createVector):
+ Change the type of paramter `cell_size` from **float** into **tuple(float, float)**, in order to support setting the cell height of vector elements.
+ Change the paramter `bar` into `histogram`(type is **bool**, means display the data in the form of a histogram).
+ Update interfaces `Vector.mark`, `Table.mark`, `SvgGraph.markNode` and `SvgGraph.markEdge`: change the default value of paramter `hold` from **True** into **False**.
+ **Display change:**
+ Change `Logger` display format into normal string.
+ Display the name of visualizer objects by string instead of `Table`.
+ No longer mark items cell automatically when access or modify data in items.
+ Remove useless comments and titles in the SVG output result of `SvgGraph`..

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.