This repository has been archived by the owner on Sep 3, 2022. It is now read-only.
Releases: bakame-php/period-visualizer
Releases · bakame-php/period-visualizer
version 0.6.0
- The
OutputWriter
is now a property ofGanttChartConfig
- Renamed
Graph
toChart
- Renamed
Graph::display
toChart::display
- Renamed
ConsoleGraph
toGanttChart
- Renamed
ConsoleConfig
toGanttChartConfig
- Adding
Dataset::appendAll
- Adding
GanttChartConfig::leftMargin
- Adding
GanttChartConfig::withLeftMargin
- Improved
GanttChart
implementation - Improved
ConsoleOutput
implementation - Changed
OutputWriter::writeln
signature
version 0.5.1
- Bug fix
Dataset::labelMaxLength
whenDataset
is empty - Bug fix
ConsoleGraph::display
whenDataset
only contains emptySequence
instances. - Improve
ConsoleGraph
implementation.
version 0.5.0
- Moved all interfaces into a
Contract
dedicated namespace - Added the
Dataset
class. - Added the
Graph
interface and theConsoleGraph
implementation. - Added the
OutputWriter
interface and theConsoleOutput
implementation,ConsoleOutput
no longer relies onecho
- Added support for label and graph gutter in
ConsoleConfig
class - Added support for label alignment in
ConsoleConfig
class - Moved graph features out of the
ConsoleOutput
class toConsoleGraph
- Merge the
Matrix
class feature into theConsoleGraph
and removed it - Renamed the
LabelGenerator
implementing classes and moved them in the main namespace - Removed the
Viewer
class
version 0.4.0
- Added support for boundary type in:
- Added
Matrix::TOKEN_*
public constants - Changed
Matrix::build
returned array content - Added the following
ConsoleConfig
methods:ConsoleConfig::endIncluded
ConsoleConfig::withEndIncluded
ConsoleConfig::startExcluded
ConsoleConfig::withStartIncluded
- Renamed the following
ConsoleConfig
methods:ConsoleConfig::getTail
withConsoleConfig::startIncluded
ConsoleConfig::withTead
withConsoleConfig::withEndExcluded
ConsoleConfig::getHead
withConsoleConfig::endExcluded
ConsoleConfig::withHead
withConsoleConfig::withEndExcluded
- Added
- Improve Package UX/DX
- Removed the
get
prefix from allConsoleConfig
getter methods - Changed the suffix from all
LabelGenerator
classes fromType
toGenerator
- Changed
LabelGenerator::getLabels
method name toLabelGenerator::generate
- Added
LabelGenerator::format
method to format a single label - Made
ConsoleOutput
optional in theViewer
constructor method - Added
Viewer::unions
- Added
Viewer::setLabelGenerator
andViewer::setOutput
are chainable - Changed arguments order in
Viewer::__construct
- Added
$prefix
and$suffix
parameters to theAffixGenerator
- Removed the
version 0.3.1
- Enforces strict types on the library
version 0.3.0
- Removed the
OutputInterface
. - Made
ConsoleOutput::render
private onlyConsoleOutput::display
stays public. - Improve
Matrix
code.
version 0.2.2
- Bug Fix
ConsoleOutput::render
method. No newline character must be added at the end of the line.
version 0.2.1
- Bug Fix
ConsoleOutput::render
method. Once the matrix is created we just use it and we non longer rely on the submitted data.
version 0.2.0
- The
OutputInterface::render
and theOutputInterface::display
array signature has changed.
The array format is that of a tuple where:
- the first value represents the period or the sequence label
- the second value represents the period or the sequence
- The
Matrix
and theViewer
class are updated accordingly with refactoring to improve the calculation speed. - The
ConsoleConfig
accepts adefault
color keywords to tell that the output should fellow the default colors from the console. - The
default
color keyword replaces thewhite
color keyword as the default keyword used if no color is specified.
version 0.1.0
Initial release